B Installing R on your computer
B.1 Why should I install R on my computer?
The R Server cuts down on a lot of installation problems and it means that you have all the packages and functions you need already installed. However, it requires an internet connection to use and when it comes time to submit your R assessments, if you don’t have R on your computer it means that you won’t be able to open the files you download from the server to check they’re ok before you submit them.
B.2 Windows
If you are using Windows, you should download and install the following:
Once you’ve installed all three programs, restart your computer. Then, open RStudio (not R) and run the below code:
This will install the tidyverse
package on your computer. You can still use the server to do all your work, but having R on your computer will make it easier to view the files. If you would like to work from your computer, you will also need to install the other packages we use, for example lsr
, psych
, babynames
etc.
B.3 Mac
If you are using a Mac, you should download and install the following:
There have been a number of issues installing R on Macs. We recommend you watch this walkthrough video.
If you are using a Mac with the Catalina OS, we also recommend you read this troubleshooting guide
Once you’ve installed all three programs, restart your computer. Then, open RStudio (not R) and run the below code:
This will install the tidyverse
package on your computer. You can still use the server to do all your work, but having R on your computer will make it easier to view the files. If you would like to work from your computer, you will also need to install the other packages we use, for example lsr
, psych
, babynames
etc.
B.4 Chromebooks
Please note that you cannot currently install R on a Chromebook, please continue to use the R Server.