RcppBDT: R bindings for Boost Date.Time (original) (raw)
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)
Initially created: Thu Dec 23 21:19:04 CST 2010
Last modified: Wed Jul 29 21:55:25 CDT 2020