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: 
http://r.789695.n4.nabble.com/How-to-completely-stop-a-script-after-stop-tp3218808p3437025.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to