How to install R and RStudio
How to install R and RStudio
This page shows you how to install R and RStudio on your Mac computer. R and RStudio are programs you will use during your studies at CIM. R is a statistical programming language. RStudio is an interface for using R.
Downloading R and RStudio
Go to the R install page (click here https://cran.r-project.org/bin/macosx/) and click on the link to the mac installer (R-3.5.1.pkg) by clicking on the link shown below.
Next, go to the RStudio install pages (click here https://www.rstudio.com/products/rstudio/download/) and download the RStudio install for Mac by clicking on the link (RStudio 1.0.153-MacOSX10.6+ (64-bit)) shown below.
Installing R and RStudio
The R and RStudio install files should be in your downloads folder. If you open your downloads folder then you will see both of them, as shown below.
Double click on the R pkg file. An installer window will open. Click on the continue button.
Click continue through the next few screens. Click on 'Agree' when shown the terms and conditions.
Click on continue and then you will be asked to enter the password to your computer. Enter your password and then click 'Install Software'.
An install bar will be shown and the below screen is shown when the install is complete. R is now installed on your Mac!
Click double click on the RStudio installer.
A window will open. Drag RStudio to the applications folder. RStudio is now installed.
Running RStudio
Both R and RStudio are now installed on your Mac. To open RStudio you can open the Applications folder and double click on the RStudio icon.
Rstudio will now open up and look something like below. You are now ready to work in RStudio.