Learn R Programming

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

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)

Copy Link

Version

Install

install.packages('RcppBDT')

Monthly Downloads

1,125

Version

0.2.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

January 25th, 2025

Functions in RcppBDT (0.2.7)

toPOSIXct

Parse POSIXct objects from input data
cToPOSIXct

Parse POSIXct objects from character variables
bdtDt

Rcpp module bdtDt for binding of Boost Date_Time Date functionality
bdtTz

Rcpp module bdtTz for binding of Boost Date_Time timezone functionality
charToPOSIXct

Parse POSIXct objects from character variables
RcppBDT-package

Bindings for Boost Date_Time
RcppBDT Date functions

Date accessor and construction functions from Boost Date_Time
bdtDu

Rcpp module bdtDu for binding of Boost Date_Time duration functionality
RcppBDT-constants

Constants for date functions with Boost Date_Time
bdtDd

Rcpp module bdtDd for binding of Boost Date_Time date duration functionality
bdtPt

Rcpp module bdtPt for binding of Boost Date_Time ptime functionality