File: sendToConsole.Rd

package info (click to toggle)
r-cran-rstudioapi 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 592 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 584 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
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stubs.R
\name{sendToConsole}
\alias{sendToConsole}
\title{Send Code to the R Console}
\usage{
sendToConsole(code, execute = TRUE)
}
\arguments{
\item{code}{Character vector containing code to be executed.}

\item{execute}{\code{TRUE} to execute the code immediately.}
}
\description{
Send code to the R console and optionally execute it.
}
\note{
The \code{sendToConsole} function was added in version 0.99.787 of RStudio.
}
\examples{
\dontrun{
rstudioapi::sendToConsole(".Platform", execute = TRUE)
}

}