Re: [R] Month name in English, not R running language

2013-01-14 Thread Marc Girondot
It works perfectly: > Sys.setlocale(category = "LC_TIME", locale="en_GB.UTF-8") [1] "en_GB.UTF-8" > x <- seq(from=as.Date("2000-04-01"), length.out=100, by=1) > y <- rnorm(length(x), 5,2) > plot(x, y) > Sys.setlocale(category = "LC_TIME", locale="") [1] "fr_FR.UTF-8" Thanks a lot Marc (I post t

Re: [R] Month name in English, not R running language

2013-01-14 Thread Pascal Oettli
Hello, ?Sys.setlocale HTH, Pascal Le 15/01/2013 15:28, Marc Girondot a écrit : When ploting a timeseries, the months are shown with abbreviation in the current language of the system. For example, x <- seq(from=as.Date("2000-04-01"), length.out=100, by=1) y <- rnorm(length(x), 5,2) plot(x, y)

[R] Month name in English, not R running language

2013-01-14 Thread Marc Girondot
When ploting a timeseries, the months are shown with abbreviation in the current language of the system. For example, x <- seq(from=as.Date("2000-04-01"), length.out=100, by=1) y <- rnorm(length(x), 5,2) plot(x, y) Show for me "avi mai jui jul" as I use R with French language localization. I se