'Rcpp' Bindings for the Boost Date_Time Library

Access to Boost Date_Time functionality for dates, durations (both for days and date time objects), time zones, and posix time ('ptime') is provided by using 'Rcpp modules'. The posix time implementation can support high-resolution of up to nano-second precision by using 96 bits (instead of 64 with R) to present a 'ptime' object (but this needs recompilation with a #define set).


RcppBDT: R bindings for Boost Date.Time

CI License CRAN r-universe Downloads Last Commit

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

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)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RcppBDT")

0.2.8 by Dirk Eddelbuettel, 7 months ago


https://github.com/eddelbuettel/rcppbdt, https://dirk.eddelbuettel.com/code/rcpp.bdt.html


Report a bug at https://github.com/eddelbuettel/rcppbdt/issues


Browse source code at https://github.com/cran/RcppBDT


Authors: Dirk Eddelbuettel [aut, cre] (ORCID: , Romain Francois [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, methods

Linking to Rcpp, BH


Imported by IndexConstruction.


See at CRAN