restartSession {rstudioapi}R Documentation

Restart the R Session

Description

Restart the RStudio R session.

Usage

restartSession(command = "")

Arguments

command

An R command (as a string) to be run after restarting R.

Note

The restartSession function was added in version 1.1.281 of RStudio.


[Package rstudioapi version 0.7 Index]