[Rd] Re: [R] options()$warn==2 and try() (PR#1570)
Thomas Lumley
tlumley@u.washington.edu
Fri, 17 May 2002 14:22:05 -0700 (PDT)
Even try() isn't really involved.
The problem is in src/errors.c:warningcall
It sets a flag inWarning, presumably to ensure that infinite loops of
recursive warnings don't happen, but if options(warn)==2 then an error is
signalled and the flag is not cleared until the next error.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._