[ESS] ESS question
Enrico Schumann
es at enricoschumann.net
Wed Feb 12 09:54:39 CET 2014
On Wed, 12 Feb 2014, Michael Wolf <michael.wolf at econ.uzh.ch> writes:
> On 12 Feb 2014, at 02:05, Sparapani, Rodney <rsparapa at mcw.edu> wrote:
>
>> On Wed, 2014-02-12 at 01:51 +0800, Michael Wolf wrote:
>>
>>>> sessionInfo()
>>> R version 3.0.2 (2013-09-25)
>>> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>>>
>>> locale:
>>> [1] C
>>>
>>> attached base packages:
>>> [1] stats graphics grDevices utils datasets methods base
>>>
>>> loaded via a namespace (and not attached):
>>> [1] compiler_3.0.2 tools_3.0.2
>>>
>>> “locale” in a terminal window yields the following:
>>>
>>>
>>> Air:~$ locale
>>> LANG=
>>> LC_COLLATE="C"
>>> LC_CTYPE="UTF-8"
>>> LC_MESSAGES="C"
>>> LC_MONETARY="C"
>>> LC_NUMERIC="C"
>>> LC_TIME="C"
>>> LC_ALL=
>>>
>>> Mac OS X is the very latest version, that is, 10.9.1.
>>>
>>> I’ll be happy to upgrade ESS to version 13.09-1 and will let you
> know.
>>>
>>> It’s just a mystery to me where this German thing popped up, since
> I
>>> have everything running in English.
>>>
>>> Many thanks,
>>> Michael
>>
>> Hi Michael:
>>
>> I don't see anything obviously wrong. However, I have very little
>> experience outside of the LANG=en_US.ISO8859-1 setting. Hopefully,
>> upgrading will just fix it. Make sure that you keep ess-help in
> your
>> replies for posterity.
>>
>> Rodney
>>
>
> Hi Rodney,
>
> I upgraded to ESS 13.09-1 and (just in case) also set the locale to
> en_US.ISO8859-1 explicitly before starting R.
> But still the same problem.
>
> Oh well, I actually speak German. Maybe ESS is trying to tell me
> something and I should just accept it.
>
> Many thanks again,
> Michael
>
Hi Michael,
I did not follow this discussion closely, but do you get the
same behaviour when you run R in a shell (ie, outside
Emacs/ESS)?
IIRC, R's messages preferably use a language specified in an
environment variable LANGUAGE. Is it set on your computer?
On my system (in ESS, but also in a shell):
> Sys.getenv("LANGUAGE")
[1] "en_GB:en"
> 1+x
Error: object 'x' not found
> Sys.setenv(LANGUAGE = "de")
> 1+x
Fehler: Objekt 'x' nicht gefunden
Should the behaviour be R-related (and not ESS-specific),
perhaps you find answers here:
http://cran.r-project.org/doc/manuals/R-admin.html#Internationalization
I have ess-version: 13.09-2 [<unknown>] (the SVN-version).
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.0.2 tools_3.0.2
Regards,
Enrico
--
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net
More information about the ESS-help
mailing list