[R] Setting the language of Rs error messages

2011-03-13 Thread Alexx Hardt
Hi, My R has been installed on a Ubuntu linux computer in Germany. The error messages I get are in German, for example: In min(magnitudes) : kein nicht-fehlendes Argument für min; gebe Inf zurück I would like those to be displayed in English, for pasting them into google. I tried searching

Re: [R] Setting the language of Rs error messages

2011-03-13 Thread Richard M. Heiberger
Sys.setenv(LANG=DE) 2+a Fehler in 2 + a : nicht-numerisches Argument für binären Operator Sys.setenv(LANG=EN) 2+a Error in 2 + a : non-numeric argument to binary operator On Sun, Mar 13, 2011 at 8:39 AM, Alexx Hardt mikrowelle1...@gmx.de wrote: Hi, My R has been installed on a Ubuntu

Re: [R] Setting the language of Rs error messages

2011-03-13 Thread Alexx Hardt
Am 13.03.2011 15:13, schrieb Richard M. Heiberger: Sys.setenv(LANG=EN) Thanks, this is exactly what I was looking for. Can I somehow configure R to set this variable to EN whenever I start it? __ R-help@r-project.org mailing list

Re: [R] Setting the language of Rs error messages

2011-03-13 Thread Richard M. Heiberger
Yes. Add that line to your .Rprofile file. See ?Startup for full details on initialization of an R session. On Sun, Mar 13, 2011 at 10:32 AM, Alexx Hardt mikrowelle1...@gmx.de wrote: Am 13.03.2011 15:13, schrieb Richard M. Heiberger: Sys.setenv(LANG=EN) Thanks, this is exactly what I