search for: r_errorcon

Displaying 1 result from an estimated 1 matches for "r_errorcon".

2005 Oct 10
2
Catching warning and error output
...k R_WriteError would be used (which defaults to R_WriteConsole). Using this callback I would get a stream of both warnings, and errors, separate from "regular" output. I could tell warnings and errors apart, using options (error=...). 3) Yet a little less intrusive: Somehow use a fake R_ErrorCon: There I'd simply add my own callback for con->vprintf, and con->fflush. Then proceed as in 2. However, it seems Rconnection and the related functions are too tightly guarded against this approach. I simply don't see a way, how I could fake this connection (but maybe there is one?)...