rs: Restart the R Session in RStudio

Description Usage Arguments Value

View source: R/misc.R

Description

This function is simply a wrapper around rstudioapi::restartSession() and, if called within RStudio, will restart the R session. It's a convenient way to restart the current R Session.

Usage

1
rs(command = "")

Arguments

command

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

Value

NA; used for side effects.


jdtrat/jdtools documentation built on Dec. 20, 2021, 10:05 p.m.