Re: [Rd] bug in hist.POSIXt , hist.Date

From: Ben Bolker <>
Date: Wed, 13 Apr 2011 13:57:13 +0000

Joris Meys <jorismeys <at>> writes:

> The behaviour of hist.POSIXt when using the col argument is different
> from the default hist, in the respect that it colors the axes as well.
> I think this is due to the ... argument, which is passed to the
> axis.POSIXct() function. In the default hist, col is set as a fixed
> argument, and hence cannot be passed unwantedly to other functions.
> Maybe this should be done with hist.POSIXt as well. The same goes for
> hist.Date

  Reproducible example:

 hist(.leap.seconds, "years", freq = TRUE,col=2) mailing list Received on Wed 13 Apr 2011 - 14:04:26 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 Wed 13 Apr 2011 - 18:00:48 GMT.

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

list of date sections of archive