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

Boryeu Mao B.Mao at cerep.com
Mon Apr 29 21:43:56 CEST 2002

Within an user function, how are the warnings from an R function be trapped
(such that some proper actions can be taken)?  'last.warning' is returned
only at the top level.  Pointers are appreciated.

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