Dear Sir/Madam, After installing R, I saw this warning message in red when I open the R... During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_PAPER failed, using "C" how shall I solve this ? Thank you very much in advance. Yj -------------- next part -------------- A non-text attachment was scrubbed... Name: Warning messages.png Type: image/png Size: 122354 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130107/3a27e28d/attachment-0002.png>
On 07/01/2013 14:50, Yongjie wrote:> Dear Sir/Madam, > > After installing R, I saw this warning message in red when I open the R... > > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_COLLATE failed, using "C" > 3: Setting LC_TIME failed, using "C" > 4: Setting LC_MESSAGES failed, using "C" > 5: Setting LC_PAPER failed, using "C" > > how shall I solve this ? > > Thank you very much in advance.The screenshot is of R.app. So do follow the posting guide (see the footer): 'Platform-specific questions: There are lists R-sig-Mac, R-sig-Debian and R-sig-Fedora for R on Mac OS X, Debian/Ubuntu and Fedora/Redhat respectively. Questions specific to those platforms (especially re installation and the R.app GUI on Mac OS X) are more likely to get informed responses on the appropriate list.' The answer is to set up your Mac correctly, and how to do so is not an R question, and the answers will be unintelligible to non-Mac users (and probably many Mac users too). So ask in the right place.> > Yj > > > > ______________________________________________ > 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
I'd suggest you do as the following message suggests and follow the R-MAC-FAQ section 9 notes on locales and whatnot. If you need specific advice on following this, we'll need to know what version of OS X you're running and what your local settings are. That said, I don't think you'll actually hit too much trouble if you stick to ASCII characters. MW On Mon, Jan 7, 2013 at 2:50 PM, Yongjie <zyj1234 at gmail.com> wrote:> Dear Sir/Madam, > > After installing R, I saw this warning message in red when I open the R... > > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_COLLATE failed, using "C" > 3: Setting LC_TIME failed, using "C" > 4: Setting LC_MESSAGES failed, using "C" > 5: Setting LC_PAPER failed, using "C" > > how shall I solve this ? > > Thank you very much in advance. > > Yj > > ______________________________________________ > 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. >
On Jan 7, 2013, at 6:50 AM, Yongjie wrote:> Dear Sir/Madam, > > After installing R, I saw this warning message in red when I open > the R... > > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_COLLATE failed, using "C" > 3: Setting LC_TIME failed, using "C" > 4: Setting LC_MESSAGES failed, using "C" > 5: Setting LC_PAPER failed, using "C" > > how shall I solve this ? > > Thank you very much in advance. > > Yj > <Warning messages.png>______________________________________________Rather than pasting screenshots you should copy the console output to you message body. Have you read and followed the suggestions in the warning message to read the MacOS RFAQ? Its accessible in a GUI session from the "Help" menu. You should at the very least say what your prefered language and timezone settings might be.> 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.htmlRead the Posting Guide, too.> and provide commented, minimal, self-contained, reproducible code.-- David Winsemius, MD Alameda, CA, USA