Rcpp 0.7.11
[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 new versions 0.7.11 of
Rcpp is awaiting
inclusion into
CRAN and
Debian. It is also available from
here.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
This version fixes a somewhat serious bug uncovered by Doug Bates when working with vectors of strings. We also added a few new accessor functions as well as a new convenience function create that is particularly useful for creating (possibly named) list objects that are returned to R.
Here is the full NEWS entry for this release:
0.7.11 2010-03-26 o Vector gains a set of templated factory methods "create" which takes up to 20 arguments and can create named or unnamed vectors. This greatly facilitates creating objects that are returned to R. o Matrix now has a diag() method to create diagonal matrices, and a new constructor using a single int to create square matrices o Vector now has a new fill() method to propagate a single value o Named is no more a class but a templated function. Both interfaces Named(.,.) and Named(.)=. are preserved, and extended to work also on simple vectors (through Vector::create) o Applied patch by Alistair Gee to make ColDatum more robust o Fixed a bug in Vector that caused random behavior due to the lack of copy constructor in the Vector template
As always, even fuller details are in 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.