powered by
Send code to the R console, and optionally execute it.
sendToConsole(code, execute = TRUE, echo = TRUE, focus = TRUE, animate = FALSE)
The R code to be executed, as a character vector.
Boolean; should the code be executed after being submitted to the console? If FALSE, code is submitted to the console but is not executed.
FALSE
code
Boolean; echo the code in the console as it is executed?
Boolean; focus the console after sending code?
Boolean; should the submitted code be animated, as if someone was typing it?
if (FALSE) { rstudioapi::sendToConsole(".Platform", execute = FALSE, animate = TRUE) }
Run the code above in your browser using DataLab