Restart the R session. Shallow wrapper for restartSession.

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) {
restart()
}