> Joris Meys writes:
This is already fixed in r-devel.
-k
> Hi all,
> following sample code illustrates the problem :
> Date1 <- Date2 <-
> as.POSIXlt(seq.Date(as.Date("2010-04-01"),as.Date("2011-04-01"),by='day'))
> identical(Date1,Date2)
> all.equal(Date1,Date2)
> identical() gives
Hi all,
following sample code illustrates the problem :
Date1 <- Date2 <-
as.POSIXlt(seq.Date(as.Date("2010-04-01"),as.Date("2011-04-01"),by='day'))
identical(Date1,Date2)
all.equal(Date1,Date2)
identical() gives the correct answer. As there is no all.equal method
for POSIXlt objects, all.