Duncan Murdoch <murdoch.dun...@gmail.com> writes: > On 28/05/2015 4:52 AM, Rainer M Krug wrote: >> Hi >> >> 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. Thanks, Rainer > > Duncan Murdoch > -- Rainer M. Krug email: Rainer<at>krugs<dot>de PGP: 0x0F52F982
signature.asc
Description: PGP signature
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.