[R] changing langage
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Jan 12 18:16:56 CET 2005
Kurt Sys <kurt.sys at pandora.be> writes:
> Hi all,
>
> I've got a small, practical question, which untill now I couldn't
> solve (otherwhise I wouldn't mail it, right?) First of all, I'm
> talking about R 2.0.1 on a winxp system (using the default graphical
> interface being 'Rgui').
> When I make plots, using dates on the x-axis, it puts the labels in
> Dutch, which is nice (since it's my mother tongue) unless I want them
> in English... Is there a way to change this behaviour? (Can I change
> the labels etc to English?)
This type of stuff works on Linux at least:
Sys.setlocale("LC_ALL","da_DK") # or en_GB, or....
plot(date,....)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list