Re: [Rd] Error with cut.POSIXt and daylight savings time switchover dates (patch included)

2010-02-04 Thread Brian Diggs
On 2/3/2010 7:48 AM, Brian Diggs wrote: > On 2/1/2010 3:57 PM, Brian Diggs wrote: >> The following code: >> >> cut(as.POSIXct("2009-11-01 04:00:00", tz="America/Los_Angeles"), "1 day") >> >> gives the error: >> >> Error in seq.int(0, to - from, by) : 'to' must be finite [details deleted...] >> Is

Re: [Rd] Error with cut.POSIXt and daylight savings time switchover dates

2010-02-03 Thread Brian Diggs
On 2/1/2010 3:57 PM, Brian Diggs wrote: > The following code: > > cut(as.POSIXct("2009-11-01 04:00:00", tz="America/Los_Angeles"), "1 day") > > gives the error: > > Error in seq.int(0, to - from, by) : 'to' must be finite > > This is related to November 1st, 2009 being the switchover date from

[Rd] Error with cut.POSIXt and daylight savings time switchover dates

2010-02-01 Thread Brian Diggs
The following code: cut(as.POSIXct("2009-11-01 04:00:00", tz="America/Los_Angeles"), "1 day") gives the error: Error in seq.int(0, to - from, by) : 'to' must be finite This is related to November 1st, 2009 being the switchover date from daylight savings time to standard time in the America/Los