Rcpp 0.6.7
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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.
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.