From the “File” menu, select “New File,” then choose “R Script” from the list of options. (We’ll look at other options later, particularly “Quarto document”)
You can also create the script from the “new file” button in the Files pane.
Notice a new pane appears above the Console. This is called the Source pane and is where we write and edit R code and documents. This pane is only present if there are files open in the editor.
