[R] how to stop without error message?

hadley wickham h.wickham at gmail.com
Tue Nov 11 03:06:16 CET 2008

On Mon, Nov 10, 2008 at 4:42 PM,  <Mark.Bravington at csiro.au> wrote:
> Dear list
> Can anyone suggest a simple way to abort execution like stop(...) does, but without issuing an "Error: ..." message?
> I don't want to set 'options( show.error.messages=TRUE)' because I want normal behaviour to resume after this particular stop.

What's wrong with return() ?



More information about the R-help mailing list