Error: object 'en' not found

Whenever I start, after the stadnard header, I keep getting

Error: object 'en' not found
[Workspace loaded from ~/.RData]

whenever I start Rstudio :frowning: , and it stops me from doing a series of things, including package installation:

> install.packages("RODBC")
Installing package into โ€˜/home/eric/R/x86_64-pc-linux-gnu-library/3.4โ€™
(as โ€˜libโ€™ is unspecified)
trying URL ''
Content type 'application/x-gzip' length 1163967 bytes (1.1 MB)
downloaded 1.1 MB

/usr/lib/R/bin/Rcmd: 56: /usr/lib/R/etc/Renviron: language: not found
Error: object 'en' not found
Execution halted
Warning in install.packages :
  installation of package โ€˜RODBCโ€™ had non-zero exit status

The downloaded source packages are in

My locale looks like this:

> Sys.getlocale(category = "LC_ALL")

R version 3.4.2 (2017-09-28)
Ubuntu 14.0 LTS
Rstudio Version 1.1.383

Any suggestions greatly appreciated :slight_smile:

The answer.

(The problem was caused by "language = en" inserted into the instead of in the instead.)