Re: [R] I think I just broke R

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Sun, 03 Apr 2011 08:10:50 -0400

On 11-04-03 7:50 AM, Alexander Engelhardt wrote:
> Am 03.04.2011 13:12, schrieb Prof Brian Ripley:
>> On Sun, 3 Apr 2011, Uwe Ligges wrote:
>>> Use "LANGUAGE" rather than "LANG" as the environment variable.
>>
>> Also, set it outside your R session, e.g. in your .Renviron file.
>>
>> You are supposed to be able to change this during an R session, but if
>> you rely on OS facilities (as you probably do on Linux) rather than the
>> gettext in the R sources, we have seen instances of the OS breaking this.
>
> I did use LANGUAGE too, didn't work as well.
> Creating a ~/.Rprofile file with LANGUAGE="EN" had no effect (weird..).

That's not weird: you just created an R variable named LANGUAGE, not an environment variable.

Duncan Murdoch

> When I edited /etc/R/Renviron.site to include LANGUAGE="EN", it worked.
> Thanks for the hints!
>
>>>>> sessionInfo()
>>>> R version 2.10.1 (2009-12-14)
>>>
>>> and time to upgrade R
>
> I'm still fighting to find out how to upgrade stuff on Ubuntu. After a
> repository update the newest available version was still 2.10.1.
> I'll figure it out, sooner or later :)
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 03 Apr 2011 - 12:13:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Apr 2011 - 12:50:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive