The still new package RcppInt64
(announced two weeks ago in this
post, with this
followup last week) arrived on CRAN earlier today in its second
update and relase 0.0.3. RcppInt64
collects some of the previous conversions between 64-bit integer values
in R and C++, and regroups them in a single package by providing a
single header. It offers two interfaces: both a more standard
as<>() converter from R values along with its
wrap() to return to R, as well as more dedicated
functions ‘from’ and ‘to’.
This release adds support for the corresponding nanotime conversion between R and C++. nanotime is leveraging the same bit64-based reprensentation of 64-bit integers for nanosecond resolution timestamps. A thorough S4 wrapping the offers R based access for convenient and powerful operations at nanosecond resolution. And as tweeted (here and here), tooted (here and here), and skeeted (here and here) in a quick preview last Sunday, it makes for easy and expressive code.
The brief NEWS entry follows:
Changes in version 0.0.3 (2023-09-19)
wrap()converters are now declared
Conversion to and from nanotime has been added.
If you like this or other open-source work I do, you can sponsor me at GitHub.