R API Datetime

Access to the C-level R date and datetime code is provided for C-level API use by other packages via registration of native functions. Client packages simply include a single header 'RApiDatetime.h' provided by this package, and also 'import' it. The R Core group is the original author of the code made available with slight modifications by this package.

R Date and Datetime Functionality at the C Level


This package provides C-level date / datetime functionality taken from the R sources and made available for use by other packages.

It is useful if you are writing C (or C++) code in an R package which needs to parse, format or transform date(time) objects, and want to do this at the compiled level, i.e. faster than calling back to the corresponding R level function could do it.


The package is now on CRAN and can be installed via a standard



Copyrights are held by the respective authors, in particular the R Core Team for the included code from R, and Dirk Eddelbuettel for any modificatons, integration and the remainder of the package.


Dirk Eddelbuettel for this package

R Core for the underlying code from R


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.


0.0.3 by Dirk Eddelbuettel, a year ago

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

Authors: Dirk Eddelbuettel and R Core (original code)

Documentation:   PDF Manual  

GPL (>= 2) license

Imported by PoloniexR, anytime.

See at CRAN