Hi, there´s something that really bothers me about R and after hours and hours of internet research, I´m still stuck with the same problem: I installed R and it is in Spanish, as the system on my work. I would really like it in English and there seems to be no way to change that!?! I´m doing an abroad internship, so my Spanish is far from perfect and my tutorial is in English. Is there any way that I´m not aware of to change the language environment of R? Thanks a lot! Katharina _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
Hi r-help-bounces at r-project.org napsal dne 18.03.2010 11:16:26:> > Hi, > > > > there?s something that really bothers me about R and after hours andhours of> internet research, I?m still stuck with the same problem: I installed Rand it> is in Spanish, as the system on my work. I would really like it inEnglish and> there seems to be no way to change that!?! I?m doing an abroadinternship, so> my Spanish is far from perfect and my tutorial is in English. > > > > Is there any way that I?m not aware of to change the languageenvironment of R? Maybe ?Sys.getlocale Sys.setlocale("LC_ALL", "Czech") # for Czech locale Regards Petr> > > > Thanks a lot! > > Katharina > > _________________________________________________________________ > [[elided Hotmail spam]] > > [[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 guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
G'day Katharina, On Thu, 18 Mar 2010 11:16:26 +0100 Katharina Gerstendorf <katharina_g at hotmail.com> wrote:> there_s something that really bothers me about R and after hours and > hours of internet research, I_m still stuck with the same problem:And during these hours of research you did not come across the R Windows FAQ available on CRAN and all mirrors? E.g.: http://cran.ms.unimelb.edu.au/bin/windows/base/rw-FAQ.html particularly question 3.2 of that FAQ: http://cran.ms.unimelb.edu.au/bin/windows/base/rw-FAQ.html#I-want-R-in-English_0021> Thanks a lot!You are welcome. Cheers, Berwin ========================== Full address ===========================Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Maths and Stats (M019) +61 (8) 6488 3383 (self) The University of Western Australia FAX : +61 (8) 6488 1028 35 Stirling Highway Crawley WA 6009 e-mail: berwin at maths.uwa.edu.au Australia http://www.maths.uwa.edu.au/~berwin
You haven't told us your OS, so it is probably Windows ... This is an FAQ, specifically http://cran.r-project.org/bin/windows/base/rw-FAQ.html#I-want-R-in-English_0021 Since you seem to be unfamiliar with FAQs, there is a lot more useful information there, and the posting guide asked you to search them before posting. (And certainly before 'hours and hours of internet research'.) If you are not on Windows, see the 'R Installation and Administration Manual' section 7.2, or if you use the R.app GUI on Mac OS X see the relevant FAQ section 9. But in general R will use the same language as your OS, and if you don't want Spanish, simply change the language of the OS. On Thu, 18 Mar 2010, Katharina Gerstendorf wrote:> > Hi, > > > > there?s something that really bothers me about R and after hours and > hours of internet research, I?m still stuck with the same problem: I > installed R and it is in Spanish, as the system on my work. I would > really like it in English and there seems to be no way to change > that!?! I?m doing an abroad internship, so my Spanish is far from > perfect and my tutorial is in English. > > > > Is there any way that I?m not aware of to change the language > environment of R? > > > > Thanks a lot! > > Katharina-- 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
On 18/03/2010 6:16 AM, Katharina Gerstendorf wrote:> Hi, > > > > there?s something that really bothers me about R and after hours and hours of internet research, I?m still stuck with the same problem: I installed R and it is in Spanish, as the system on my work. I would really like it in English and there seems to be no way to change that!?! I?m doing an abroad internship, so my Spanish is far from perfect and my tutorial is in English. > > > > Is there any way that I?m not aware of to change the language environment of R?Yes, set the environment variable LANGUAGE to what you want. This is described in detail in the R Installation and Administration manual. You can do this on the R command line, e.g. I normally get R in English, but can switch to Spanish by starting it as Rgui LANGUAGE=es The two letter language abbreviations are listed in http://en.wikipedia.org/wiki/ISO_639-1 and a document it links to. Duncan Murdoch> > > > Thanks a lot! > > Katharina > > _________________________________________________________________ > [[elided Hotmail spam]] > > [[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.
Hi I am not definitely expert in locales. It is a relict from time I worked with W95/98 where were some problems with locale setting and/or graphing. I would try just before reading in a file to change locale setting by ?Sys.setlocale> Sys.getlocale()[1] "LC_COLLATE=Czech_Czech Republic.1250;LC_CTYPE=Czech_Czech Republic.1250;LC_MONETARY=Czech_Czech Republic.1250;LC_NUMERIC=C;LC_TIME=Czech_Czech Republic.1250"> Sys.setlocale("LC_ALL", "Hebrew")[1] "LC_COLLATE=Hebrew_Israel.1255;LC_CTYPE=Hebrew_Israel.1255;LC_MONETARY=Hebrew_Israel.1255;LC_NUMERIC=C;LC_TIME=Hebrew_Israel.1255"> Sys.getlocale()[1] "LC_COLLATE=Hebrew_Israel.1255;LC_CTYPE=Hebrew_Israel.1255;LC_MONETARY=Hebrew_Israel.1255;LC_NUMERIC=C;LC_TIME=Hebrew_Israel.1255" and then try to read in the data. Regards Petr>Tal Galili <tal.galili at gmail.com> napsal dne 18.03.2010 16:23:25:> Hello Petr, > > Since you seem to understand about locals, maybe you could (and will be > willing) to help me. > > I wish to read in a simple file in Hebrew. It has just two lines: > ?????????? > ??????????? > > But when I use: > read.table("c:\\temp.txt") > I get: > V1 > 1 ?????????? > 2 ??????????? > > My output for: > l10n_info() > Is: > $MBCS > [1] FALSE > > $`UTF-8` > [1] FALSE > > $`Latin-1` > [1] TRUE > > $codepage > [1] 1252 > And for: > Sys.getlocale() > > Is: > [1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_UnitedStates.> 1252;LC_MONETARY=English_United States. > 1252;LC_NUMERIC=C;LC_TIME=English_United States.1252" > > Can you suggest to me what to try and change to allow me to load thefile correctly ?> > Thanks! > > Tal > > > > ----------------ContactDetails:-------------------------------------------------------> Contact me: Tal.Galili at gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |> www.r-statistics.com (English) >----------------------------------------------------------------------------------------------> > >> 2010/3/18 Petr PIKAL <petr.pikal at precheza.cz> > Hi > > r-help-bounces at r-project.org napsal dne 18.03.2010 11:16:26: > > > > > Hi, > > > > > > > > there?s something that really bothers me about R and after hours and > hours of > > internet research, I?m still stuck with the same problem: I installedR> and it > > is in Spanish, as the system on my work. I would really like it in > English and > > there seems to be no way to change that!?! I?m doing an abroad > internship, so > > my Spanish is far from perfect and my tutorial is in English. > > > > > > > > Is there any way that I?m not aware of to change the language > environment of R?> Maybe > > ?Sys.getlocale > > Sys.setlocale("LC_ALL", "Czech") # for Czech locale > > Regards > Petr > > > > > > > > > > Thanks a lot! > > > > Katharina > > > > _________________________________________________________________ > > [[elided Hotmail spam]] > > > > [[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. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.