Skip to contents

Restart the R session. Shallow wrapper for restartSession.

Usage

restart(command = deparse(substitute(cat(paste("Welcome back!")))))

Arguments

command

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

Value

Null

Examples

if (FALSE) { # \dontrun{
restart()
} # }