Re: [R] How to *completely* stop a script after stop()?

From: algorimancer <>
Date: Fri, 08 Apr 2011 10:38:57 -0700 (PDT)

Thank you all for the astoundingly quick responses. I think that the bounding open/closed braces approach sounds like the easiest solution for the moment -- though I look forward to seeing this all automated in a future version of R :)

Incidentally, I have indeed encapsulated much of the code as functions which I call using source(); the problematic (lengthy) front-end is a decision tree which tailors a specific analysis to designated files. This mimics the switch/case structure which I'm more familiar with in c/c++. There's a limit to how much can be neatly moved to a separate file.

Thank you again for your assistance.

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 08 Apr 2011 - 17:42:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Apr 2011 - 18:10:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive