'Rcpp' Bindings for the Boost Date_Time Library.
RcppBDT: R bindings for Boost Date.Time
About
This package provides R with access to Boost Date_Time functionality by using Rcpp modules.
It is effectively a precursor to the newer and more polished packages anytime.
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 operators would have to be defined. That is mostly tedious which is one of the reasons I have not gotten around to it yet. Get in touch if you are interested.
License
GPL (>= 2)