Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
This version ties up a number of smaller loose ends, but also adds a few new
things, particularly John’s new exposeClass
. Details are as
usual in the NEWS
extract below, and also
in the ChangeLog file in the package and on the
Rcpp Changelog page.
Thanks to CRANberries, you can also look at a diff to the previous release 0.10.5. As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads, 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 pageChanges in Rcpp version 0.10.6 (2013-10-27)
Changes in Rcpp API:
The function
exposeClass
takes a description of the constructors, fields and methods to be exposed from a C++ class, and writes C++ and R files in the package. Inherited classes can be dealt with, but require data type information. This approach avoids hand-coding module files.Two missing
is<>()
templates forCharacterVector
andCharacterMatrix
have been added, and some tests foris_na()
andis_finite()
have been corrected thanks to Thomas Tse.Changes in R code:
Export linking helper function
LdFlags
as well asRcppLdFlags
.Function
Rcpp.package.skeleton()
no longer passes anamespace
argument on topackage.skeleton()
Changes in R setup:
Raise requirement for R itself to be version 3.0.0 or later as needed by the vignette processing
Changes in Rcpp attributes:
sourceCpp
now correctly binds to Rtools 3.0 and 3.1
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.