Re: [R] dates in French format

From: Gabor Grothendieck <>
Date: Thu, 31 Jan 2008 16:36:08 -0500

On Jan 31, 2008 4:25 PM, Denis Chabot <> wrote:
> Hi all,
> The crashes I reported earlier were cause by R 2.6.1 for Mac not
> liking the OS date setting "french canada", an issue that has been
> solved (by Simon Urbanek). The crashes did not occur when the OS was
> set to use normal french formats for dates. With that setting, the
> suggestions by Prof Ripley and Gabor all worked nicely.
> Now that my dates are a chron object, I do have a new problem. The
> formatting of the dates on the x axis leaves to be desired. Instead of
> having day month and year, or at the very least day and month, I only
> get month and year so that many tick labels are identical. I also get
> a warning which puzzles me.
> For instance:
> > start <- chron("12/01/2007")
> > other.dates <- seq(1,60,2)
> > Date <- start + other.dates
> > plot(1:length(Date)~Date)

Here is a workaround:

plot(seq_along(Date)~as.Date(Date)) mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 31 Jan 2008 - 21:39:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 Jan 2008 - 23:30:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive