[R] Error messages when start first time R: "You're using a non-UTF8 locale, therefore only ASCII characters will work."

Bert Gunter bgunter.4567 at gmail.com
Thu Apr 14 18:48:16 CEST 2016

1. These are warnings, not error. So you could just ignore them and proceed.

2. However, you may wish to go to the tools -->General menu in RStudio
and set the default text encoding to UTF-8. I think that will get rid
of the warnings.

Happy R-ing. Please make use of R's docs and web resources (especially
tutorials) before posting on this list, as most questions you might
have should be quickly answerable from them.


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Thu, Apr 14, 2016 at 12:47 AM, Ole C. Brudvik <olebrudvik at gmail.com> wrote:
> Hi!
> I just started this course and just installed R and RStudio but I got this warning/error messages when I open R and RStudio:
> 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_MONETARY failed, using "C"
> [R.app GUI 1.67 (7152) x86_64-apple-darwin13.4.0]
> WARNING: You're using a non-UTF8 locale, therefore only ASCII characters will work.
> Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly.
> Section 9 is just Acknowledgements so I cant find the help the software refer to.
> Please, can anyone help me with this? It seems important to get this fixed before I do work with RStudio.
> Thanks a lot! Appreciate very much any help.
> Cheers
> Ole
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

More information about the R-help mailing list