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

From: algorimancer <clanders_at_utmb.edu>
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: 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_at_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.
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive