> "MM" == Martin Maechler
> on Fri, 2 Jul 2010 12:22:07 +0200 writes:
> "RobMcG" == McGehee, Robert
> on Tue, 29 Jun 2010 10:46:06 -0400 writes:
RobMcG> I came across the below mis-feature/bug using match with POSIXlt
objects
RobMcG> (from strptime) in R 2.11.1
> "RobMcG" == McGehee, Robert
> on Tue, 29 Jun 2010 10:46:06 -0400 writes:
RobMcG> I came across the below mis-feature/bug using match with POSIXlt
objects
RobMcG> (from strptime) in R 2.11.1 (though this appears to be an old
issue).
>> x <- as.POSIXlt(Sys.Date())
>
[1] TRUE
Dr Oleg Sklyar
Research Technologist
AHL / Man Investments Ltd
+44 (0)20 7144 3803
oskl...@maninvestments.com
> -Original Message-
> From: r-devel-boun...@r-project.org
> [mailto:r-devel-boun...@r-project.org] On Behalf Of McGehee, Robert
> Sent: 29 June 2010 15:46
I came across the below mis-feature/bug using match with POSIXlt objects
(from strptime) in R 2.11.1 (though this appears to be an old issue).
> x <- as.POSIXlt(Sys.Date())
> table <- as.POSIXlt(Sys.Date()+0:5)
> length(x)
[1] 1
> x %in% table # I expect TRUE
[1] FALSE FALSE FALSE FALSE FALSE FAL