[Rd] Run package code on R shutdown?

Duncan Murdoch murdoch at stats.uwo.ca
Mon Apr 10 02:21:06 CEST 2006


I'm sure I've seen this discussed before, but haven't been able to find 
it.  I'd like some package code to be run when R is shut down 
(approximately when a user's .Last function would be run), to clean up 
properly.  What is the best way to do this?

Duncan Murdoch



More information about the R-devel mailing list