[R] how to trap any warnings from an R function

Jason Turner jasont at indigoindustrial.co.nz
Tue Apr 30 21:22:50 CEST 2002


On Mon, Apr 29, 2002 at 12:43:56PM -0700, Boryeu Mao wrote:
> Within an user function, how are the warnings from an R function be trapped
> (such that some proper actions can be taken)?  

One way is with try()

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list