restartSession | R Documentation |
Restart the RStudio session.
restartSession(command = "", clean = FALSE)
command |
A command (as a string) to be run after restarting. |
clean |
Boolean; when |
The restartSession
function was added in version 1.1.281 of
RStudio. Support for the clean
argument was added for version 2024.04
release of RStudio; it is silently ignored in older versions of RStudio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.