Rcpp 0.9.4, and a paper in the Journal of Statistical Software

[This article was first published on Thinking inside the box , and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A brand new 0.9.4 release of Rcpp is now on CRAN and Debian.

This version contains an improvement to loading and initialization of Rcpp modules, a bug fix for vectors of factors, another build issue fix as well as (per common practice with JSS) citation information for the article Rcpp: Seamless R and C++ Integration which is now Volume 40, Issue 8 in the Journal of Statistical Software (or JSS for short).

The complete NEWS entry is below; more details are in the ChangeLog file in the package and on the Rcpp Changelog page.

0.9.4   2011-04-12

    o   New R function "loadRcppModules" to load Rcpp modules automatically
        from a package. This function must be called from the .onLoad function
        and works with the "RcppModules" field of the package's DESCRIPTION file

    o   The Modules example wrapped the STL std::vector received some editing
        to disambiguate some symbols the newer compilers did not like

    o   Coercing of vectors of factors is now done with an explicit callback
        to R's "as.character()" as Rf_coerceVector no longer plays along

    o   A CITATION file for the published JSS paper has been added, and 
        references were added to Rcpp-package.Rd and the different vignettes

Thanks to CRANberries, there is also a diff to the previous release 0.9.3:
Diff between Rcpp versions 0.9.3 dated 2011-04-05 and 0.9.4 dated 2011-04-12

 Rcpp-0.9.3/Rcpp/build                                             |only
 Rcpp-0.9.3/Rcpp/inst/skeleton/yada.Rd                             |only
 Rcpp-0.9.3/Rcpp/inst/unitTests/testRcppModule/R/Modules.R         |only
 Rcpp-0.9.3/Rcpp/inst/unitTests/testRcppModule/man/yada.Rd         |only
 Rcpp-0.9.4/Rcpp/ChangeLog                                         |   55 
 Rcpp-0.9.4/Rcpp/DESCRIPTION                                       |   10 
 Rcpp-0.9.4/Rcpp/NAMESPACE                                         |   29 
 Rcpp-0.9.4/Rcpp/R/Rcpp.package.skeleton.R                         |   11 
 Rcpp-0.9.4/Rcpp/R/loadRcppModules.R                               |only
 Rcpp-0.9.4/Rcpp/inst/CITATION                                     |only
 Rcpp-0.9.4/Rcpp/inst/NEWS                                         |   17 
 Rcpp-0.9.4/Rcpp/inst/doc/Makefile                                 |    2 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-FAQ.pdf                             |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw                    |  153 +-
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-extending.pdf                       |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw        |    2 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-introduction.Rnw                    |  734 ++++------
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-introduction.pdf                    |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-modules.pdf                         |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-modules/Rcpp-modules.Rnw            |   36 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-package.pdf                         |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw            |    4 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-quickref.pdf                        |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw          |   34 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-sugar.pdf                           |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw                |    2 
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp-unitTests.pdf                       |binary
 Rcpp-0.9.4/Rcpp/inst/doc/Rcpp.bib                                 |   73 
 Rcpp-0.9.4/Rcpp/inst/doc/unitTests-results/Rcpp-unitTests.html    |   18 
 Rcpp-0.9.4/Rcpp/inst/doc/unitTests-results/Rcpp-unitTests.txt     |   40 
 Rcpp-0.9.4/Rcpp/inst/include/Rcpp/config.h                        |    2 
 Rcpp-0.9.4/Rcpp/inst/skeleton/zzz.R                               |   11 
 Rcpp-0.9.4/Rcpp/inst/unitTests/runit.Module.client.package.R      |   27 
 Rcpp-0.9.4/Rcpp/inst/unitTests/runit.Vector.R                     |   18 
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/DESCRIPTION         |    2 
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/NAMESPACE           |    3 
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/R/zzz.R             |only
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/src/rcpp_module.cpp |    6 
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/src/stdVector.cpp   |   18 
 Rcpp-0.9.4/Rcpp/inst/unitTests/testRcppModule/tests/modules.R     |   21 
 Rcpp-0.9.4/Rcpp/man/Rcpp-package.Rd                               |    6 
 Rcpp-0.9.4/Rcpp/man/loadRcppModules.Rd                            |only
 Rcpp-0.9.4/Rcpp/src/r_cast.cpp                                    |    9 
 43 files changed, 647 insertions(+), 696 deletions(-)

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 page

To leave a comment for the author, please follow the link and comment on their blog: Thinking inside the box .

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.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)