Rcpp::Rcout
. So the new release 0.2.35 of
RcppArmadillo does just that---and input/output
from Armadillo, the wonderful linear algebra / math library for C++ written chiefly by
Conrad Sanderson now comes through in a coordinated buffered fashion. As as
std::cout
is no longer used by default, the R CMD check
no longer flags this.
There are two more bugfixes in the releases for issues noticed by attentive RcppArmadillo users. Teo Guo Ci spotted a missing semicolon when C++0x code was activated, and Gershon Bialer suggested a fix for an issue plagueing users of the jurassic g++ 4.2.1 compiler which Apple forces on users of OS X. We thank Martin Renner for testing these fixes. The NEWS entry below summarises the changes.
Courtesy of CRANberries, there is also a diffstat reports for 0.2.35 relative to 0.2.34 As always, more detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.0.2.35 2012-02-17 o Upgraded to Armadillo release 2.4.3 * Support for ARMA_DEFAULT_OSTREAM using Rcpp::Rcout added o Minor bug fix release improving corner cases affecting builds: * Missing semicolon added in Mat_meat (when in C++0x mode), with thanks to Teo Guo Ci * Armadillo version vars now instantiated in RcppArmadillo.cpp which helps older g++ versions, with thanks to Gershon Bialer * Thanks also to Martin Renner for testing these changes * Unit tests output fallback directory changed per Brian Ripley's request to not ever use /tmp * Minor update to version numbers in RcppArmadillo-package.Rd
R CMD check
happy, and one or two new features.
The complete NEWS entry for 0.9.10 is below; more details are in the ChangeLog file in the package and on the Rcpp Changelog page.
Thanks to CRANberries, you can also look at a diff to the previous release 0.9.9. 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 page0.9.10 2012-02-16 o Rearrange headers so that Rcpp::Rcout can be used by RcppArmadillo et al o New Rcpp sugar function mapply (for limited to two or three input vectors) o Added custom version of the Rcpp sugar diff function for numeric vectors skipping unncesserry checks for NA o Some internal code changes to reflect changes and stricter requirements in R CMD check in the current R-devel versions o Corrected fixed-value initialization for IntegerVector (with thanks to Gregor Kastner for spotting this) o New Rcpp-FAQ entry on simple way to a set compiler option for cxxfunction