Re: [R] Fwd: Re: East Asian language

From: Pingping Zheng <pingping.zheng_at_lancaster.ac.uk>
Date: Fri 15 Jul 2005 - 22:49:37 EST

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.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 15 22:54:26 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:45 EST