RcppBDT: R bindings for Boost Date.Time
This package provides R with access to Boost Date_Time functionality by using Rcpp modules.
Core Features available via Boost Date_Time
- Posix time ("Ptime"): Nano-second precision calculations and datetime calculations
- Date: basic date calculation support
- Date duration: Calculations on intervals ("days")
- Local time: Portable time zone support
Each of these has an individual demo file.
Status
The package now takes advantage of R 3.1.0 and uses the C++11 standard to get
long long
support which is needed for high-resolution timing support on all
platforms.
TODO
All calculations work as implemented, but the package still has a "proof of concept" flavour as they are not vectorised at the R level. All the relevant operators would have to be defined. That is mostly tedious which I have not gotten around to yet. Get in touch if you are interested.
License
GPL (>= 2)