[R] Converting a dataframe column from string to datetime

Arun.stat arun.kumar.saha at gmail.com
Fri Oct 1 10:55:23 CEST 2010


Is it okay with you?

Reduce("rbind", lapply(lapply(v,function(x){strptime(x, "%a %b %d %H:%M:%OS
%Y")}), as.character))
-- 
View this message in context: http://r.789695.n4.nabble.com/Converting-a-dataframe-column-from-string-to-datetime-tp2853709p2869793.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list