On Dec 16, 2010, at 10:01 AM, jim holtman wrote:

exit from the current session and startup a new one.

Possibly with an additional step of deleting .Rdata from the working directory.


On Thu, Dec 16, 2010 at 9:12 AM, Holger Hoefling <hhoef...@gmail.com> wrote:
Hi all,

I need some help with R. I am looking for a function that puts R back into a vanilla state (exactly the same when I just started it). Specifically I want all objects in the workspace removed and all non-base packages detached and unloaded; all base packages that are loaded on startup should remain loaded (and preferably a .Rprofile executed as well). It would also be good if all
the options would be reset (but that is not strictly necessary).

Thank you very much for your help.

Best

Holger Hoefling


--
Jim Holtman
Data Munger Guru


David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to