[R] warning.expression?

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Sep 22 18:14:12 CEST 2005


Hi!

I'm trying to catch all warning-messages for special handling. It seems 
options (warning.expression=myfunc ()) can be used for that. However, the 
question is: How can I get at the actual warning in myfunc ()? Apparently in 
S, you can use .C("get_last_message") for that. Is there a similar mechanism 
in R?

Thanks for your help!
Thomas




More information about the R-help mailing list