[R] .Last.lib() not called when quit()-ing

Henrik Bengtsson hb at maths.lth.se
Wed Sep 11 09:48:10 CEST 2002


This question is a spin-off from my previous one: "[R] Get the value of
'save' from quit() in .Last() [and .Last.lib()]".

I know that .Last.lib(libpath) is called when doing detach("package:MyPkg").
What worries me is that .Last.lib() is not called when exiting [R]. Should
I/we be able to expect that a package is detached when [R] quits?


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



More information about the R-help mailing list