Alexey, The other thing you could do is to simply copy the logic of Rcpp::Rostream over to something using boost::log. All that really matters is that you end up passing things to Rprintf(). Dirk -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com