Please fill out the pre-survey and evaluation to help us understand your expectations and thoughts about the workshops.
R and RStudio Installation
More about RStudio - interface, projects, working directory
Vectors and functions
Check your version number and make sure to download the correct version of R/RStudio.
Download R from https://cloud.r-project.org/bin/macosx/, and select the .pkg link based on your macOS version.
Download RStudio at https://posit.co/download/rstudio-desktop/#download
|
Windows /Linux |
Mac |
Run current command/selection |
Ctrl+Enter |
Cmd+Enter |
Show shortcuts |
Alt+Shift+K |
Option+Shift+K |
Insert <- |
Alt+- |
Option+- |
Comment lines |
Ctrl+Shift+C |
Cmd+Shift+C |
Insert code section |
Ctrl+Shift+R |
Cmd+Shift+R |
Insert %>% |
Ctrl+Shift+M |
Cmd+Shift+M |
Data frames and tibbles
Data SAFI
R packages
Missing data
The data used for this lesson are in the figshare repository at: https://figshare.com/articles/SAFI_Survey_Results/6262019
This lesson uses SAFI_clean.csv
. The direct download link for this file is: https://raw.githubusercontent.com/datacarpentry/r-socialsci/main/episodes/data/SAFI_clean.csv