warning.expression?
?warnings
Also see ?conditions
Note that both were suggested by help.search('warning') -- Please do make
full use of R's internal documentation before posting.
-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
"The business of the statistician is to catalyze the scientific learning
process." - George E. P. Box
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Thomas
Friedrichsmeier
Sent: Thursday, September 22, 2005 9:14 AM
To: r-help at stat.math.ethz.ch
Subject: [R] warning.expression?
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
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html