Source: https://princeton.edu/~otorres/RStudio101.pdf