rstudioapi (version 0.11)

restartSession: 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.