Re: [R] axis.Date language

2012-07-09 Thread Mikkel Grum
Thanks Prof, I needed one more step on my system: sudo locale-gen es_ES.UTF-8 Mikkel From: Prof Brian Ripley Cc: R Help Sent: Monday, July 9, 2012 7:01 AM Subject: Re: [R] axis.Date language On 09/07/12 01:43, Mikkel Grum wrote: > Dear useRs > >

Re: [R] axis.Date language

2012-07-09 Thread Prof Brian Ripley
On 09/07/12 01:43, Mikkel Grum wrote: Dear useRs I need to do graphs with dates in different languages on Ubuntu. In Windows the following will plot the date axis labels in Spanish: random.dates <- as.Date("2001/1/1") + 70*sort(stats::runif(100)) language <- "Spanish" Sys.setlocale("LC_TIME",

[R] axis.Date language

2012-07-08 Thread Mikkel Grum
Dear useRs I need to do graphs with dates in different languages on Ubuntu. In Windows the following will plot the date axis labels in Spanish: random.dates <- as.Date("2001/1/1") + 70*sort(stats::runif(100)) >language <- "Spanish" >Sys.setlocale("LC_TIME", language) >plot(random.dates, 1:100, x