Hi jim: ahhh, but then the error messages are off for "real errors" that occur later.


Hi pierre: a return() in a (2nd-level) function can be different from a stop(). one could argue about whether it should be possible to stop() in a function of course, without it being an error().

regards,

/iaw


James MacDonald wrote:
And a closer examination of the help page would lead you to this:

options(show.error.messages=FALSE)
stop()

which is what I believe you want....

Jim


also From Pierre Kleiber:

The thing is that functions don't really stop... they return. So what you want is return()
Cheers, Pierre


______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to