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,061

Version

0.2.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

October 30th, 2022

Functions in RcppBDT (0.2.6)

toPOSIXct

Parse POSIXct objects from input data
bdtDt

Rcpp module bdtDt for binding of Boost Date_Time Date functionality
charToPOSIXct

Parse POSIXct objects from character variables
cToPOSIXct

Parse POSIXct objects from character variables
bdtTz

Rcpp module bdtTz for binding of Boost Date_Time timezone functionality
bdtDu

Rcpp module bdtDu for binding of Boost Date_Time duration functionality
bdtDd

Rcpp module bdtDd for binding of Boost Date_Time date duration functionality
RcppBDT Date functions

Date accessor and construction functions from Boost Date_Time
bdtPt

Rcpp module bdtPt for binding of Boost Date_Time ptime functionality
RcppBDT-package

Bindings for Boost Date_Time
RcppBDT-constants

Constants for date functions with Boost Date_Time