RApiDatetime v0.0.4


Monthly downloads



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.


RApiDatetime Build Status License CRAN Downloads Dependencies Code Coverage

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)

Functions in RApiDatetime

Name Description
rapistrptime R Wrappers for strptime, asPOSIXlt etc
asDatePOSIXct Conversion from POSIXct to Date
RApiDatetime-package A short title line describing what the package does
No Results!

Last month downloads


Type Package
Date 2018-10-21
License GPL (>= 2)
RoxygenNote 6.0.1
NeedsCompilation yes
Packaged 2018-10-21 14:19:48.593763 UTC; edd
Repository CRAN
Date/Publication 2018-10-21 15:10:03 UTC
Contributors Dirk Eddelbuettel

Include our badge in your README