[R] Creating Rcpp RcppDatetime from string with millisecond
romain.francois at dbmail.com
Fri Mar 19 08:50:47 CET 2010
Rcpp has a dedicated mailing list where such questions are appropriate.
Please augment your email with some code examples of what you tried and
repost on Rcpp-devel.
Le 19/03/10 00:45, R_help Help a écrit :
> I was trying to generate RcppDatetime from a string. The main problem
> for me is that my string contains millisecond. I saw that RcppDatetime
> takes in double of seconds since epoch. I try to generate a double
> using boost but has no success. I'm wondering if you have any sample
> The string looks like:
> "2010-03-18 15:50:51.232"
> Secondly, what time zone RcppDatetime is based on? Is it local machine
> time zone? And if I have a need to convert time zone, is there any
> tool at hand I can use? Or I have to resort to something like boost
> again? Thank you so much in advance.
Professional R Enthusiast
+33(0) 6 28 91 30 30
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5
More information about the R-help