Skip to content
Prev 2768 / 15075 Next

The GUI defaults on japanese in my environment.

Charles,
On Jun 6, 2006, at 7:42 AM, Charles Plessy wrote:

            
Yes. By default the region setting defines the language used by R.  
This behavior is rooted in the fact that it is the only valid locale  
information that can be reliably obtained from the OS. There is,  
however, a work-around for such specific cases where the region  
information contradicts the language setting, namely the locale can  
be set regardless of the system setting. For example if you wish to  
use US-english locale, you can force the GUI to do so by writing in  
the Terminal:

defaults write org.R-project.R force.LANG en_US.UTF-8

The only requirement is that the locale must use UTF-8, otherwise  
many things will break. In addition to that, it is always possible to  
use the corresponding LC_xx environment variables if finely-grained  
control over the locale is desired.

Cheers,
Simon