[Rd] Catching warning message(stdout) from C

Maarten van Iterson M.van_iterson.HG at lumc.nl
Tue May 13 16:37:06 CEST 2008


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

-- 
Maarten van Iterson
Center for Human and Clinical Genetics
Leiden University Medical Center (LUMC)
Research Building, Einthovenweg 20 
Room S-04-005
Phone: 071-526 9428
E-mail: M.van_iterson.HG at lumc.nl
---------------
Postal address:
Postzone S-04-P
Postbus 9600
2300 RC Leiden 
The Netherlands



More information about the R-devel mailing list