Re: [Rd] Catching warning message(stdout) from C

2008-05-13 Thread Prof Brian Ripley
On Tue, 13 May 2008, Maarten van Iterson wrote: I'm using the 'pnt' C function from Rmath library in some C-code. So I assume you compiled against -lRmath? 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=

[Rd] Catching warning message(stdout) from C

2008-05-13 Thread Maarten van Iterson
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 Geneti