Skip to content

Interacting with R terminals

Kun Ren edited this page Jun 19, 2021 · 10 revisions

Creating R terminal

In VS Code window, press F1 (or Ctrl + Shift + P) and choose "R: Create R terminal" command, then the VS Code terminal will be revealed and an R terminal will be launched.

By default, the official R terminal is launched.

R

We recommend radian as a better alternative.

radian

Sending code to R terminals

  • If a range of code is selected, then the selected code will be sent to the terminal.
  • If no code is selected, then an executable range of code will be sent to the terminal and the cursor will move to the next line.

Using multiple R terminals

Each time "R: Create R terminal" is executed, a new R terminal is created. The user could switch between these R terminals, and customize the icon color and the label of each terminal.

R terminals

Using self-managed R terminals

radian in tmux
Clone this wiki locally