[R] Fwd: Re: East Asian language
Pingping Zheng
pingping.zheng at lancaster.ac.uk
Fri Jul 15 14:49:37 CEST 2005
I'm not sure what other applications use environment variable like "LANGUAGE".
I'm sorry I was so assertive. However, what I said is right in the sense that
environment variables are supposed to be used NOT by one specific application.
I happen to use lots of GnuWin32 and Cygwin applications such as lots of Unix
tools though I am not sure what will happen after setting system wise variable
"LANGUAGE".
It's a good idea to set "LANGUAGE" in .Renviron under current directory before
running R.
Thanks.
Pingping Zheng
Department of Mathematics and Statistics
Fylde College
Lancaster University
Lancaster LA1 4YF
UK
Prof Brian Ripley wrote:
> On Fri, 15 Jul 2005, Uwe Ligges wrote:
>
>> Pingping Zheng wrote:
>>
>>> I think what Nan Lin wanted is "How to change the language used in R
>>> console by re-setting something within R?"
>>>
>>> For a non-english user, sometime we prefer to set the system default
>>> language to a native one and use english in individual programs when
>>> we think necessary.
>>>
>>> a) setting the envrionment variable LANGUAGE=en will make an impact
>>> on the whole system, which has its side effects.
>
>
> I'd like to see your evidence for that. gettext deliberately chose
> LANGUAGE because it was not commonly used, and I know of no application
> other than those based on gettext (like R) which makes use of it. It is
> not at all common for Windows applications to use such environment
> variables unless they are ported from the Unix world.
>
>>> b) changing language setup through control panel is telling people to
>>> throw
>>> away their native windows system, let's all use English system.
>>>
>>> Any better idea?
>>
>>
>> What about setting LANGUAGE in .Renviron?
>> See ?.Renviron
>
>
> Or reading the rw-FAQ Q2.17 and seeing other ways to do so.
>
More information about the R-help
mailing list