[R] epoch time conversion in R

Sharad Agarwal sagarwal at cs.berkeley.edu
Thu Feb 27 04:18:03 CET 2003

I have a data file where each entry is indexed by the time in seconds since 
epoch (e.g. 1046315697). Is there an easy way to convert this time value into 
a more friendly time (such as Month-Year) when plotting it?

I searched through the manual, mailing lists, and functions like as.POSIXct 
and strptime, but didn't find what I need.


More information about the R-help mailing list