On 12 July 2017 at 08:40, David Bellot wrote:
| >
| > Have you seen my 'nanotime' package?  It does just that: provide nanosecond
| >> resolution by relying on RcppCCTZ for the parsing/formating and int64 for
| >> the
| >> storage.
| >>
| >
| ​Yes I use nanotime now. Excellent package.

Thanks!  Help/suggestion/PRs welcome at its repo.

| Also the solution to cast numericvector to long long is perfect too, as I
| needed to manipulate my timestamps anyway.

Not to be a stickler but I guess these days I might use uint64_t instead.
You should be able to get that losslessly to/from a NumericVector (aka
double).

For all things plotting for now the best bet is a (lossy !!) conversion down
to POSIXct.

| Thanks everyone, problem solved in no time !

Cool.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to