[R] Reset R to a vanilla state
David Winsemius
dwinsemius at comcast.net
Thu Dec 16 16:10:17 CET 2010
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
> <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
>>
>
> --
> Jim Holtman
> Data Munger Guru
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list