Other sites

Rcpp 0.7.11

A new versions 0.7.11 ofRcpp is awaiting
inclusion intoCRAN andDebian. It is also available fromhere.

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