Right on the heels of release 0.2.1
of RcppCNPy, a new version 0.2.2 is now on CRAN
RcppCNPy uses the CNPY
library by Carl Rogers to
provide R with easy read and write access to NumPy
The reason for the new version that I had experimented with a different way to test endianness (as needed for the
NumPy file headers) but accidentally sent an interim tarball to CRAN which
still wanted to include
promptly breaking Windows
builds. So now we do something even simpler and just rely on the (even more
complete) test for endianness when R is built, which prevents all sorts of
complications for us and builds everywhere (with thanks to Brian Ripley for the suggestion).
While we were at it, we also added a new unit test.
Full changes are listed below.
Changes in version 0.2.2 (2013-11-29)
Switched to using the result from the compile-time configuration for R to determine big or little endian (as needed
Added a new test (and test validation result file) for a complete save-reload cycle and comparison
CRANberries also provides a diffstat report
for 0.2.2 relative to 0.2.1.
As always, feedback is welcome and the
rcpp-devel mailing list
off the R-Forge page for Rcpp is
the best place to start a discussion.
This post by Dirk Eddelbuettel
originated on his Thinking inside the box blog.
Please report excessive re-aggregation in third-party for-profit settings.
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook