[Rcpp-devel] [ANN] Rcpp 0.9.7
Dirk Eddelbuettel
edd at debian.org
Sat Oct 1 01:41:38 CEST 2011
Rcpp 0.9.7 went to CRAN this morning, below is the usual blog post in case
you haven't seen it. The actual URL is
http://dirk.eddelbuettel.com/blog/2011/09/30#rcpp_0.9.7
which has the hyper-references if you want to follow those.
Special thanks goes to Martyn Plummer whose heroic efforts in mud-wrestling
the SunPro compiler resulted in two patches so that we are now building on
Solaris. You can't win, though, as the tests indicate that Solaris/x86 is
fine, yet Solaris/sparc fails in the unit tests. If anyone here has such a
machine, please get in touch. Thanks also to Darren Cook for spotting a
somewhat minor design flaw reflecting too much interaction with Java :)
Cheers, Dirk
Fri, 30 Sep 2011
Rcpp 0.9.7
A fresh maintenance release version 0.9.7 of Rcpp went onto CRAN and into Debian
earlier today.
This release contains two contributed fixes. The first, suggested by Darren Cook
via the rcpp-devel mailing list, corrects how we had set up exceptions
specifications, reflecting a bit of Java-think on our part. The idiom is
generally discouraged in C++, and we now conform. The second came in two
excellent patches by R Core member Martyn Plummer which finally get us
compilation on Solaris. This is much appreciated as our hands were tied here for
lack of access to such a box.
Otherwise, two new examples and a new unit test were added. The complete NEWS
entry is below; more details are in the ChangeLog file in the package and on the
Rcpp Changelog page.
0.9.7 2011-09-29
o Applied two patches kindly provided by Martyn Plummer which provide
support for compilation on Solaris using the SunPro compiler
o Minor code reorganisation in which exception specifiers are removed;
this effectively only implements a run-time (rather than compile-time)
check and is generally seen as a somewhat depreated C++ idiom. Thanks
to Darren Cook for alerting us to this issue.
o New example 'OpenMPandInline.r' in the OpenMP/ directory, showing how
easily use OpenMP by modifying the RcppPlugin output
o New example 'ifelseLooped.r' showing Rcpp can accelerate loops that may
be difficult to vectorise due to dependencies
o New example directory examples/Misc/ regrouping the new example as
well as the fibonacci example added in Rcpp 0.9.6
o New Rcpp-FAQ example warning of lossy conversion from 64-bit long
integer types into a 53-bit mantissa which has no clear fix yet.
o New unit test for accessing a non-exported function from a namespace
Thanks to CRANberries, you can also look at a diff to the previous release
0.9.6. As always, even fuller details are on the 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
/code/rcpp | permanent link
--
New Rcpp master class for R and C++ integration is scheduled for
San Francisco (Oct 8), more details / reg.info available at
http://www.revolutionanalytics.com/products/training/public/rcpp-master-class.php
More information about the Rcpp-devel
mailing list