[R-SIG-Mac] cannot change the default language environment

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jan 5 02:42:51 CET 2017


On 04/01/2017 7:50 PM, rrlist at mac.com wrote:
> Hello, everyone,
>
> I’m new to R and new to the list.
>
> I received the following string of messages when starting my first R session:
>
> 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.68 (7288) 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.
>
>
>> defaults write org.R-project.R force.LANG en_US.UTF-8
> Error: unexpected symbol in "defaults write”
>
>
> As can be seen, the syntax of the "defaults write" command seems to be incorrect. Has it changed? And should I be worried about the earlier “failed” messages?

That's a command to execute in the Terminal, not in R.

Duncan Murdoch

>
> Sorry if this question has been asked many times, but I wasn’t able to find an archive of the list.
>
> Thank you for any help,
> Rick
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list