Skip to content
Prev 33666 / 63424 Next

sessionInfo() fails to correctly detect locale settings

Liviu Andronic wrote:
R only sets the entries it needs. In particular, you most definitely do
not want LC_NUMERIC automatically set to your current locale, as this
may cause system I/O to use "," instead of "." in numbers.
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