[R-sig-Debian] Changing locale?
Matthieu Stigler
matthieu.stigler at gmail.com
Thu Apr 15 15:57:42 CEST 2010
Hi
I need for a specific application to change the locale of R 2.9.2 in
Ubuntu 9.04. Trying the example in ?Sys.setlocale:
Sys.setlocale("LC_TIME", "de_DE.utf8")
[1] ""
Warning message:
In Sys.setlocale("LC_TIME", "de_DE.utf8") :
la requête OS pour spécifier la localisation à "de_DE.utf8" n'a pas pu
être honorée
I tried the code line for windows on R windows (Sys.setlocale("LC_TIME",
"German")) and it worked. Does it mean that the basic installation (from
ubuntu repo) does not provide those locales? Or did I do something wrong?
Thanks a lot!
Matthieu
sessionInfo()
R version 2.9.2 (2009-08-24)
i486-pc-linux-gnu
locale:
LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=fr_FR.UTF-8;LC_PAPER=fr_FR.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=fr_FR.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Revobase_0.2-1
More information about the R-SIG-Debian
mailing list