[R] Reset R to a vanilla state

jim holtman jholtman at gmail.com
Thu Dec 16 16:01:47 CET 2010

exit from the current session and startup a new one.

On Thu, Dec 16, 2010 at 9:12 AM, Holger Hoefling <hhoeflin at 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
>        [[alternative HTML version deleted]]
> ______________________________________________
> R-help at 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.

Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?

More information about the R-help mailing list