Rcpp 0.8.9

November 28, 2010

(This article was first published on Thinking inside the box , and kindly contributed to R-bloggers)

A new release 0.8.9 of
is now available at CRAN and has
just been uploaded to
Debian. As always, sources are also
available from my
local directory here.

This release comes a few weeks after the preceding
0.8.8 release
and continues with a number of enhancements mostly to what we call
Rcpp modules, our even-easier C++/R integration which follow some
ideas from Boost.Python.
Our corresponding Rcpp-modules vignette
has been updated too.

The NEWS entry follows below:

0.8.9   2010-11-27

    o   Many improvements were made to in 'Rcpp modules':

        - exposing multiple constructors

        - overloaded methods

        - self-documentation of classes, methods, constructors, fields and 

        - new R function "populate" to facilitate working with modules in 

        - formal argument specification of functions.

        - updated support for Rcpp.package.skeleton.

        - constructors can now take many more arguments.
    o   The 'Rcpp-modules' vignette was updated as well and describe many
        of the new features

    o   New template class Rcpp::SubMatrix and support syntax in Matrix
        to extract a submatrix: 
           NumericMatrix x = ... ;
           // extract the first three columns
           SubMatrix y = x( _ , Range(0,2) ) ; 
           // extract the first three rows
           SubMatrix y = x( Range(0,2), _ ) ; 
           // extract the top 3x3 sub matrix
           SubMatrix y = x( Range(0,2), Range(0,2) ) ; 

    o   Reference Classes no longer require a default constructor for
        subclasses of C++ classes    

    o   Consistently revert to using backticks rather than shell expansion
        to compute library file location when building packages against Rcpp
        on the default platforms; this has been applied to internal test
        packages as well as CRAN/BioC packages using Rcpp

Thanks to
CRANberries, there is
also a
diff to the previous release 0.8.8:

As always, even fuller details are on the
Rcpp Changelog page and the
Rcpp page which also
leads to the downloads, the
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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



CRC R books series

Contact us if you wish to help support R-bloggers, and place your banner here.

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)