From landronimirc at gmail.com  Fri Aug 21 09:50:05 2009
From: landronimirc at gmail.com (Liviu Andronic)
Date: Fri, 21 Aug 2009 08:50:05 +0100
Subject: [Rd] sessionInfo() fails to correctly detect locale settings
Message-ID: <68b1e2610908210050j70846657k9c900348240800d0@mail.gmail.com>

Dear R devels
Yesterday I was slightly surprised to notice that R incorrectly
detected some of the locale settings. I am not sure whether this is
important, but I preferred to drop a message. In the R output below,
some entries that should have been "en_GB.UTF-8" are presented as "C".
Regards
Liviu

> sessionInfo()
R version 2.9.1 (2009-06-26)
x86_64-pc-linux-gnu

locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] fortunes_1.3-6 relimp_1.0-1

loaded via a namespace (and not attached):
[1] tcltk_2.9.1


liviu at debian-liv:~$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



[Rd] sessionInfo() fails to correctly detect locale settings
Liviu Andronic