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 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 Lapointe
>
>
> **************************************************
> AVIS DE NON-RESPONSABILITE: Ce document transmis par courrie...{{dropped}}
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to