File: restartSession.Rd

package info (click to toggle)
r-cran-rstudioapi 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 916 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 726 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stubs.R
\name{restartSession}
\alias{restartSession}
\title{Restart the R Session}
\usage{
restartSession(command = "", clean = FALSE)
}
\arguments{
\item{command}{A command (as a string) to be run after restarting.}

\item{clean}{Boolean; when \code{FALSE}, the current \R session (including
loaded packages and data objects) will be saved and restored in the
new session.}
}
\description{
Restart the RStudio session.
}
\note{
The \code{restartSession} function was added in version 1.1.281 of
RStudio. Support for the \code{clean} argument was added for version 2024.04
release of RStudio; it is silently ignored in older versions of RStudio.
}