[R] Reset running R session to --vanilla state?
Rainer M Krug
Rainer at krugs.de
Thu May 28 13:28:51 CEST 2015
Duncan Murdoch <murdoch.duncan at gmail.com> writes:
> On 28/05/2015 4:52 AM, Rainer M Krug wrote:
>> Is there a way of resetting R to the --vanilla state *without
>> closing and restarting* R, i.e. all packages un-loaded (except the
>> ones loaded automatically in --vanilla), all options reset, dev()
>> closed, environments detached and deleted, ...?
> Not with the standard front-ends. I would guess you could write your
> own front end that did that, but it would probably be easier to just
> run R in a separate process, and close and restart it. I think that's
> what RStudio does.
That's what I guessed. I wanted to do this in emacs / ess but then I
have to think about a restart solution in ESS, which should be possible.
> Duncan Murdoch
Rainer M. Krug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 494 bytes
Desc: not available
More information about the R-help