[R] Reset running R session to --vanilla state?

Duncan Murdoch murdoch.duncan at gmail.com
Thu May 28 12:41:40 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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.

Duncan Murdoch

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJVZvDjAAoJEHE2Kz23YMZyb90IAJnJSNKSCLL4ANaUOMkYcwcV
5Lxoxqxq9lzn+wTtPgTlT9TqbxlO8sxRf/DJB5ewF3+KJPQ61Ln9SGkwgxKFtK5Q
U5Ap1ZCox5RRIVZPDi0JAjpU+2T0MhdsbjQnCfpz6zHflFRe1pRXi+X5DWs7fX+L
a2K3TRxtlNBgOZUpW2n931TxvkFWL0FaFIGKoMnEFabVlEbkYoBHAI4dAJEVlkDl
SWPCZYvi5UlJY5dpgbOGhLrkM3lWcHqwgfbe80h8i8eIfo13pQTRz4P+PjvITcSM
xJCv55mifueiznpNjY7OW/HMOpb9T4a1PQZmTcRswI3uZVUB1YwBBtVcy74VetQ=
=ehx9
-----END PGP SIGNATURE-----



More information about the R-help mailing list