2017-06-28 16:29 GMT+02:00 Simon Barthelmé <simon.barthe...@gipsa-lab.fr>: > Dear list, > > I'm trying to wrap an external C++ library that has the bad habit of > printing errors to std::cerr, a behaviour which will lead to CRAN issuing > warnings. I was wondering if people had come up with a solution to this > problem that's better than patching everything by hand? > > Thanks > > Simon
Hi, take a look at freopen: http://www.cplusplus.com/reference/cstdio/freopen/ Iñaki ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel