[R] Get the value of 'save' from quit() in .Last()

Thomas Lumley tlumley at u.washington.edu
Wed Sep 11 01:37:43 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list