Hi, is there a way to check the value of argument 'save' in quit() from within .Last() in my package. I would like to be able to save() an environment if quit("yes") was called and otherwise not. Thanks Henrik Bengtsson Dept. of Mathematical Statistics @ Centre for Mathematical Sciences Lund Institute of Technology/Lund University, Sweden (+2h UTC) +46 46 2229611 (off), +46 708 909208 (cell), +46 46 2224623 (fax) h b @ m a t h s . l t h . s e, http://www.maths.lth.se/bioinformatics/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 10 Sep 2002, Henrik Bengtsson wrote:> Hi, is there a way to check the value of argument 'save' in quit() from > within .Last() in my package. I would like to be able to save() an > environment if quit("yes") was called and otherwise not. >I think you're out of luck. This would be useful, but the information just isn't accessible from .Last as far as I can see. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Apparently Analagous Threads
- Building package compatible w/ R v1.9.1 and R v2.0.0?
- Webcuts - Navigating HTML help using only the keyboard
- Adding argument 'flush' to read.table() too...
- tryCatch() and preventing interrupts in 'finally'
- Incorrect display of b[hat((a))] expression in plots