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
>
>
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",
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
3 matches
Mail list logo