Skip to content
Prev 28810 / 63421 Next

Catching warning message(stdout) from C

I'm using the 'pnt' C function from Rmath library in some C-code.
How can I catch the warning message: "full precision was not achieved in
'pnt'" in R. I call the function using the .C().
(options(warn=-1) didn't work)

Thanks in advance