Running R

Author

Karl Gregory

The nicest way (I think) to use R is to run RStudio. RStudio and R are not the same thing; in fact, you have to download them separately, which you can do here. R is a programming language and Rstudio is a program which allows you to interactively run R code as well as write and execute R scripts and do a number of other things (like create these notes).

When you open RStudio you see something like this:

R studio

When using RStudio, I recommend typing commands into an R script and saving these.