For ST552 we will RStudio as our integrated development environment (IDE) for R. It provides an uniform experience over all operating systems and has a nice built-in editor.
RStudio and R are also available in your lab computer room and in the main computer lab in the basement of Milne.
Follow these instructions to get R and RStudio. There are three steps, complete them all.
Download the recommended version, open the file and install RStudio.
Run RStudio. In the “Console”, type
install.packages(c("Sleuth3", "ggplot2", "faraway"))
You might be asked
Would you like to create a personal library'~/Library/R/**/library' to install packages into? (y/n) It’s a good idea, type
You should be good to go! Test everything by copying and pasting the following into the console:
library(Sleuth3) library(ggplot2) qplot(Sex, Salary, data = case0102, geom = "boxplot")
You should see a side by side boxplot.