Is there a function that does smart date parsing in R?
I know the
as.POSIXlt commands, but they require a date formatting string, or throw the error "character string is not in a standard unambiguous format". This happens even when I pass a string with more than enough information to be parseable, like "Fri Apr 29 16:43:20 GMT 2011".
It would be really nice to not bother with reverse-engineering the format every time I import dates from a new source. Is there code that already does this?