[R-sig-Geo] dates
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Sun Jul 25 01:29:03 CEST 2010
On Sun, Jul 25, 2010 at 12:21 AM, Peter Larson <pslarson2 at gmail.com> wrote:
> 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?
Works for me. What version of everything are you on? Does as.Date
work for anything?
Barry
More information about the R-sig-Geo
mailing list