Wed, 13 Apr 2011

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

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

/code/rcpp | permanent link

RProtoBuf 0.2.3

A maintenance release 0.2.3 of RProtoBuf is now on CRAN. RProtoBuf provides GNU R bindings for the Google Protobuf data encoding library used and released by Google.

The NEWS file entry follows below:

0.2.3   2011-04-12

   o    Protect UINT64 and INT64 with '#ifdef RCPP_HAS_LONG_LONG' which
        itself is valid with either g++ <= 4.4, or newer versions if the 
        -std=c++0x is used

    o   The documentation Makefile now uses the $R_HOME environment variable

    o   The documentation Makefile no longer calls clean in the all target

And courtesy of CRANberries, here is the diff to the previous release 0.2.2:
Diff between RProtoBuf versions 0.2.2 dated 2011-01-12 and 0.2.3 dated 2011-04-13

 RProtoBuf-0.2.2/RProtoBuf/inst/doc/RProtoBuf-quickref.Rnw                     |only
 RProtoBuf-0.2.3/RProtoBuf/ChangeLog                                           |   23 
 RProtoBuf-0.2.3/RProtoBuf/DESCRIPTION                                         |    8 
 RProtoBuf-0.2.3/RProtoBuf/R/with.R                                            |   12 
 RProtoBuf-0.2.3/RProtoBuf/cleanup                                             |    3 
 RProtoBuf-0.2.3/RProtoBuf/inst/NEWS                                           |   10 
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/Makefile                                   |   42 
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/RProtoBuf-quickref.pdf                     |binary
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/RProtoBuf-unitTests.pdf                    |binary
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/RProtoBuf.pdf                              | 1267 +++++-----
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/unitTests-results/RProtoBuf-unitTests.html |   20 
 RProtoBuf-0.2.3/RProtoBuf/inst/doc/unitTests-results/RProtoBuf-unitTests.txt  |   14 
 RProtoBuf-0.2.3/RProtoBuf/src/extractors.cpp                                  |   44 
 RProtoBuf-0.2.3/RProtoBuf/src/mutators.cpp                                    |   55 
 RProtoBuf-0.2.3/RProtoBuf/src/wrapper_FieldDescriptor.cpp                     |   24 
 15 files changed, 819 insertions(+), 703 deletions(-)

As always, there is more information at the RProtoBuf page which has a draft package vignette, a 'quick' overview vignette and a unit test summary vignette. Questions, comments etc should go to the rprotobuf mailing list off the RProtoBuf page at R-Forge.

/code/rprotobuf | permanent link