[R] dates in French format

Gabor Grothendieck ggrothendieck at gmail.com
Thu Jan 31 22:36:08 CET 2008

On Jan 31, 2008 4:25 PM, Denis Chabot <chabotd at globetrotter.net> 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:


More information about the R-help mailing list