Hi R-helpers,
Is it possible to localise the error messages/warnings that comes from
R.My application takes in a locale information.I used the following command
to set the locale in R.But in RGui, i still get the error messages in
English only.Can you please help me out with this?
Sys.setlocale("LC_ALL", "French")
Regards,
Raji
--
View this message in context:
http://r.789695.n4.nabble.com/set-locale-information-in-R-tp3432760p3432760.html
Sent from the R help mailing list archive at Nabble.com.
Hi Rhelpers,
Do we need to install some font packages in R for the locale information
to take effect.
Alternatively, i found that we can use the following command for the
messages
Sys.setlocale("LC_MESSAGES","French")
Should this be done for getting error messages in French? The help for
setLocale says that the "LC_MESSAGES" cannot be set for Windows.
Can you please let me know how i can get the error messages in the locale
set?
Please do apologize if i am missing something obvious here.
Thanks,
Raji
--
View this message in context:
http://r.789695.n4.nabble.com/set-locale-information-in-R-tp3432760p3432952.html
Sent from the R help mailing list archive at Nabble.com.
Try
Sys.setenv("LANGUAGE"="Fr")
Uwe Ligges
On 07.04.2011 10:29, Raji wrote:> Hi R-helpers,
>
> Is it possible to localise the error messages/warnings that comes from
> R.My application takes in a locale information.I used the following command
> to set the locale in R.But in RGui, i still get the error messages in
> English only.Can you please help me out with this?
>
> Sys.setlocale("LC_ALL", "French")
>
> Regards,
> Raji
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/set-locale-information-in-R-tp3432760p3432760.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.