| sendToConsole {rstudioapi} | R Documentation |
Send code to the R console and optionally execute it.
sendToConsole(code, execute = TRUE)
code |
Character vector containing code to be executed. |
execute |
|
The sendToConsole function was added in version 0.99.787 of RStudio.
## Not run:
rstudioapi::sendToConsole(".Platform", execute = TRUE)
## End(Not run)