Skip to content
Prev 2229 / 10988 Next

[Rcpp-devel] rout and rerr instead of cout and cerr in Rcpp

Has anyone followed up on this? I?m wondering if there might be a simple way
to redirect cerr and cout to something like an rerr and rout? I for one have
thousands of lines of code that use cerr and cout in libraries that I would
like to use in R. It seems that they currently are causing a crash at
run-time when I leave those lines in my packages. I won?t know for sure
until I take the time to remove all of them, but who knows how long that
might take. I think it would probably be faster and easier for me to
redirect these streams to R somehow. Has that been worked out yet? If so,
how? If not, I think maybe I can redirect them to some log files or
something. Has anyone done that?
Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110427/2191978d/attachment.htm>