rstudioapi (version 0.7)

terminalCreate: Create a Terminal

Description

Create a new Terminal.

Usage

terminalCreate(caption = NULL, show = TRUE)

Arguments

caption

The desired terminal caption. When NULL or blank, the terminal caption will be chosen by the system.

show

If FALSE, terminal won't be brought to front.

Value

The terminal identifier as a character vector (NULL if unable to create the terminal or the given terminal caption is already in use).

Examples

Run this code
# NOT RUN {
termId <- rstudioapi::terminalCreate('My Terminal')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab