Rcpp 0.6.7

November 8, 2009

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

Version 0.6.7 of the Rcpp package—a set
of C++ classes making it easier to glue C/C++ code to R—is now on CRAN and
This is a fairly incremental release that contains just a few small changes that arose since
the previous
release in August

One change is that a new type RcppList was added which allows us
to build R ‘list’ types in C++. In particular, this makes it possible to have
data structures of different types and dimensions. We had not previously
accomodated this as our data structures where more regularised (i.e. think
matrices or vectors of various types). The need for this came out of the work with the
recently started RProtoBuf package
which interfaces the Google
ProtoBuf library. The incredible Romain François has joined the
project and added a number of nice tricks; this will need another blogpost
sooner rather than later. In the meantime, check out the RProtoBuf pages at R-Forge.

Another small change was the addition of a self-contained example of a
function callback from C++ into R which wasn’t all that well documented
before; this was in response to a user request.

Finally, I started RcppList as a first step in reorganising the
code a little better and split the class header and body off into separate
files. This required changes to the infrastrucure files
Makevars, cleanup, … and I promptly forgot the
Makevars.win Windoze variant which will require a 0.6.8 release
real soon.

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.


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)