[R-SIG-Mac] R locale on Mac OS X
konis at stats.ox.ac.uk
Wed Apr 27 17:15:50 CEST 2005
I still run R in the terminal. I had my LAND variable set to en which
is why I wasn't getting English (it should have been LANG=en). It's
been set that way for over a year and this is the first oddity that has
come up (:
You can probably reproduce the behavior by unsetting your LANG variable.
Here is a dump of my environment:
On Apr 27, 2005, at 3:07 PM, Simon Urbanek wrote:
>> I just built R 2.1.0 on my mini following all of the instructions on
>> Stefano's site. Now when I start R the initial message is in German
>> but my workspace gets restored in Italian. Errors and warnings are
>> in German as well.
> As with all Mac posts nowadays - please tell us how exactly you use it
> (Terminal, Emacs, R.app,...) which versions of the accompanying
> programs etc.
> If you use R from (any) shell, regular unix rules apply - i.e. the
> locale is determined by your environment settings. Therefore by
> setting the local environment variables you choose the locale. Still,
> I'm wondering how you get that mix of german and italian - I'd really
> like to have steps to reproduce this.. dump of your environment vars
> would be helpful..
> If you're using the GUI (R.app) then things are different. The GUI
> uses your System Settings to set the locale - i.e. make sure you have
> set both "Language" and "Formats" correctly. If you use the most
> recent R.app from the SVN then you can set "ignore.system.locale" to
> YES in "org.R-project.R" defaults to force english locale. In the case
> you use R.app - what language are the menus in?
More information about the R-SIG-Mac