You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. The R console. This is the R environment where R code is executed.
3. Workspace. The objects you create along the way will be listed here.
4. Plots and files. Plots will render here, and files can be browsed in the "Files" pane.
Before we start, we need to do a little prep.
1. On your computer, make a folder called "Rcourse1".
We then set the working directory to this folder, so
2. In RStudio go to Session > Set Working Directory > Choose Directory and find the "Rcourse1" folder and select it.
RStudio will now be looking for files in this folder, and any saved plots will be put here unless stated otherwise.
Now, go to File > New File > R Script
A new empty script will open up in the top left window. Go to File > Save and give it a name. It will be saved to you current working directory. You should see your file being added to the list in the Plot and Files pane.