Thu, 10 Sep 2015

Rcpp 0.12.1: First boat load of fixes!

The first updated in the 0.12.* series of Rcpp is now on the CRAN network for GNU R this morning, and I will push a Debian package. This follows the 0.12.0 release from late July which started to some serious new features.

Rcpp has become the most popular way of enhancing GNU R with C++ code. As of today, 461 packages on CRAN depend on Rcpp for making analyses go faster and further.

This release once again features contributions from a number of new contributors, with Florian Plaza OƱate and Dan Dillon joining the fray with several pull requests each. Kurt Hornik also helped with a fix for a bad interaction between very recent R (3.2.2) changes and Rcpp; another related one was also addressed. A big Thanks! to everybody helping with code, bug reports or documentation, See below for a detailed list of changes extracted from the NEWS file.

Changes in Rcpp version 0.12.1 (2015-09-10)

  • Changes in Rcpp API:

    • Correct use of WIN32 instead of _WIN32 to please Windows 10

    • Add an assignment operator to DimNameProxy (PR #339 by Florian)

    • Add vector and matrix accessors .at() with bounds checking (PR #342 by Florian)

    • Correct character vector conversion from single char (PR #344 by Florian fixing issue #343)

    • Correct on use of R_xlen_t back to size_t (PR #348 by Romain)

    • Correct subsetting code to allow for single assignment (PR #349 by Florian)

    • Enable subset assignment on left and righ-hand side (PR #353 by Qiang, fixing issue #345)

    • Refreshed to included tinyformat template library (PR #357 by Dirk, issue #356)

    • Add operator<<() for vectors and matrices (PR #361 by Dan fixing issue #239)

    • Make String and String_Proxy objects comparable (PR #366 and PR #372 by Dan, fixing issue #191)

    • Add a new class Nullable for objects which may be NULL (PR #368 by Dirk and Dan, fixing issue #363)

    • Correct creation and access of large matrices (PR #370 by Florian, fixing issue #369)

  • Changes in Rcpp Attributes:

    • Correctly reset directory in case of no-rebuilding but Windows code (PR #335 by Dirk)

  • Changes in Rcpp Modules:

    • We no longer define multiple Modules objects named World in the unit tests with was seen to have a bad effect with R 3.2.2 or later (PR #351 by Dirk fixing issue #350).

    • Applied patch by Kurt Hornik which improves how Rcpp loads Modules (PR #353 by Dirk)

  • Changes in Rcpp Documentation:

    • The Rcpp.bib file with bibliographic references was updated.

Thanks to CRANberries, you can also look at a diff to the previous release As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads page, the browseable doxygen docs and zip files of doxygen output for the standard formats. A local directory has source and documentation too. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.

/code/rcpp | permanent link