Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 620 Bytes

running_r.md

File metadata and controls

16 lines (10 loc) · 620 Bytes
  1. Create a file in VS Code ending with a .R extension. You can create new files by clicking on the new file icon in VS Code Explorer, or use the code command in the terminal to create and open an R file
code R/test.R

alt text

  1. You should see R:(not attached) in the Status Bar at the bottom of the VSCode window.

alt text

  1. Click on the R:(not attached) link to launch an R terminal. You can then send code from the .R file to the R terminal by pressing cmd/ctrl + enter.

alt text alt text