terminalCreate {rstudioapi} | R Documentation |
Create a new Terminal.
terminalCreate(caption = NULL, show = TRUE)
caption |
The desired terminal caption. When |
show |
If |
The terminal identifier as a character vector (NULL
if
unable to create the terminal or the given terminal caption is already
in use).
The terminalCreate
function was added in version 1.1.350 of RStudio.
## Not run: termId <- rstudioapi::terminalCreate('My Terminal') ## End(Not run)