RcppBDT: R bindings for Boost Date.Time

CI License CRAN Downloads Last Commit


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

Each of these has an individual demo file.


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.


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.


GPL (>= 2)