Rcpp 0.7.11

March 26, 2010
By

(This article was first published on dirk.eddelbuettel, and kindly contributed to R-bloggers)

A new versions 0.7.11 of Rcpp is awaiting inclusion into CRAN and Debian. It is also available from here.

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 his blog: dirk.eddelbuettel.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: 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.