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::coutis no longer used by default, the
R CMD checkno 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