Data Analysis and Visualization with R for Social Scientists
Justin Chun-ting Ho
University of Edinburgh
Create a new project
- Under the File menu, click on New project, choose New directory, then New project
- Enter a name for this new folder, and choose a convenient location
- Click on Create project
- Create a new file where we will type our scripts
Interaction with R
- Type commands directly into the console and press 'Enter'
- Execute commands directly from the script editor using 'Ctrl' + 'Enter' ('Cmd' + 'Return' for Macs)
Installing additional packages using the packages tab
Exercise
- Use the install option from the packages tab to install the ‘tidyverse’ package.