Re: [R] Change the language of the labels in a graph

2006-04-25 Thread Prof Brian Ripley
LANGUAGE controls the language of message translations: see the R-admin manual, which incidentally also points out you should not expect to change that whilst R is running. Second, your input dates are in English so you need English as the language for your as.Date command. The following

[R] Change the language of the labels in a graph

2006-04-24 Thread Lapointe, Pierre
Hello, How do you change the language of the labels in a graph. In this example, I want to get French labels by changing Sys.putenv. I should get Mai instead of May. Sys.putenv(LANGUAGE=fr) x - as.Date(c(1jan1960, 2jan1960, 31mar1960, 30jul1960), %d%b%Y) y -1:4 plot(x,y) Regards, Pierre

Re: [R] Change the language of the labels in a graph

2006-04-24 Thread Gabor Grothendieck
This works for me on my Windows XP system: Sys.putenv(LANGUAGE=FR); Sys.setlocale(LC_ALL,FR) On 4/24/06, Lapointe, Pierre [EMAIL PROTECTED] wrote: Hello, How do you change the language of the labels in a graph. In this example, I want to get French labels by changing Sys.putenv. I should