Re: [R] Bug in

From: hadley wickham <>
Date: Mon, 04 Jun 2007 19:55:29 +0200

On 6/4/07, Don MacQueen <> wrote:
> I think you can easily get the last days of the months by creating a
> series starting on the first days, and subtracting one from each.
> seq(as.Date("2000-2-1"), as.Date("2001-2-1"), "months") -1

Thanks for the suggestion, but for my problem the dates are user supplied so I don't know if they fall at the end of the month or not.

Hadley mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 04 Jun 2007 - 18:00:08 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 Mon 04 Jun 2007 - 18:31:14 GMT.

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