[R] set the language

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 31 17:37:07 CET 2008

On Fri, 31 Oct 2008, Gustave Lefou wrote:

> Hello,
> I would like to change my R language from German to French or English.

On Windows, we presume.

> I have read messages in the archives and also R Installation and
> Administration paragraph 7.2 but I did not get it all.
> I have to set LANGUAGE=en (what would it be for French, "fr" ?), but I don't
> know where.

Well, the rw-FAQ does tell you where:

   1. On the command line as name=value pairs.  For example in the
      shortcut to `Rgui' you could have

           "path_to_R\bin\Rgui.exe" HOME=p:/ R_LIBS=p:/myRlib

so in your shortcut use LANGUAGE=fr .  (That's the ISO 639 abbreviation 
for French, and the manual does tell you that is what to use! Google very 
rapidly produces http://en.wikipedia.org/wiki/ISO_639-1 as a list.)

That's the best place as it sets the language only for R.

> I am under Windows XP. FAQ 2.15 tells me : "under Windows 2000/XP/2003 you
> can use `System' in the control panel or the properties of `My Computer'
> (under the `Advanced' tab)". Is that right ? I have problem finding all
> this, partly because my Windows is in German.
> I give you the German names I have found : Systemsteuerung --> System -->
> Umgebungsvariablen
> Should I click on "Neu" ("Neu Benutzervariable") and then enter "LANGUAGE"
> as "Name" and "en" as "Wert" ?
> Maybe I am completely wrong.
> Thank you very much
> 	[[alternative HTML version deleted]]
> ______________________________________________
> 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.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list