[R] Function as.Date leading to error implying that strptime requires 3 arguments
Rob Balshaw
Rob.Balshaw at syreon.com
Sat May 20 03:05:02 CEST 2006
I'm using R V 2.2.1. When I try an example from the as.Date help page,
I get an error.
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- as.Date(x, "%d%b%Y")
Error in strptime(x, format) : 2 arguments passed to 'strptime' which
requires 3
>
Any suggestions would be appreciated.
Thanks,
Rob
More information about the R-help
mailing list