powered by
Returns information about RStudio terminal instances.
terminalContext(id)
The terminal id. The id is obtained from terminalList(), terminalVisible(), terminalCreate(), or terminalExecute().
id
terminalList()
terminalVisible()
terminalCreate()
terminalExecute()
A list with elements:
list
handle
caption
title
working_dir
shell
running
busy
exit_code
connection
sequence
lines
cols
rows
pid
full_screen
# NOT RUN { termId <- rstudioapi::terminalCreate("example", show = FALSE) View(rstudioapi::terminalContext(termId)) # } # NOT RUN { # }
Run the code above in your browser using DataLab