[R] How to deal with thousands of seconds in R?

Agustin Lobo Agustin.Lobo at ictja.csic.es
Tue Oct 9 10:54:00 CEST 2012


If I do:
> a
[1] "2012_10_01_14_13_32.445"
> a2
[1] "2012_10_01_14_13_32.500"
> strptime(a,format="%Y_%M_%d_%H_%M_%S")-strptime(a2,format="%Y_%M_%d_%H_%M_%S")
Time difference of 0 secs

Is there any time object in R that would deal with thousands of seconds?

Thanks

Agus

-- 
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
e-mail Agustin.Lobo at ictja.csic.es
https://sites.google.com/site/aloboaleu/



More information about the R-help mailing list