Colleagues, I am executing a large batch file in R (2.7.0) in OS X (Leopard) or Linux (Fedora). Usually, R completes normally and executes wrap-up commands. However, occasionally, R is "killed" externally, e.g., "kill xxxx" from the OS. When that happens, the wrap-up is not executed. Is there some means in R to execute a final command. .Last does not accomplish this under my set of circumstances. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com [[alternative HTML version deleted]]