On Sun, Jul 25, 2010 at 12:21 AM, Peter Larson <pslars...@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

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to