[R] RFE: vectorized behavior for as.POSIXct tz argument

Jack Tanner ihok at hotmail.com
Fri Dec 2 22:06:38 CET 2011

David Winsemius <dwinsemius <at> comcast.net> writes:

> sapply(tz, function(ttt) as.POSIXct(x=x, tz=ttt,  
> origin="1960-01-01"),simplify=FALSE)

Sure, there's no end of workarounds. It would just be consistent to treat both
the x and the tz arguments as vectors.

More information about the R-help mailing list