Setting up R

  1. Download and install the R base system. Then, install R studio.

  2. Next, open R Studio, at which point you should see something like this:

Rstudio image

  1. At the carrot (>), type 3+3 and hit enter (or return). At this, point your console should look something like this:
> 3+3
[1] 6
  1. Now, assuming you are connected to the internet, type this line of code:
install.packages("Matrix")
  1. If you get no errors, you’re all done! If you ran into problems at any of the above steps, please contact me before the second class.