[R-sig-Geo] dates

Peter Larson pslarson2 at gmail.com
Sun Jul 25 01:21:53 CEST 2010


Hi,

This is completely unrelated to spatial anything (well, ostensibly) but 
I am trying the following to convert a string to a date and am getting 
nothing"

dates <- c("27-Feb-92")
as.Date(dates,format= '%d-%b-%y')
[1] NA

Any ideas?

Thanks and sorry for the off topic issue.

Pete



More information about the R-sig-Geo mailing list