Downloading R and RStudio

Below you will find information on how to download and install both R and RStudio onto your personal computer. Both software are easy and free to install/ set up.

Firstly, what is the difference between R and RStudio? R is the software and programming language which runs all the statistical and data analysis and computations. RStudio however is an Integrated Development Environment (IDE) which provides us with a user interface along with tools and features to make the most out of the computations done in R and allows the researcher to organize and better conduct analysis.

A common example used to highlight the differences would be like considering R to be engine of a car while RStudio is the dashboard containing all the information and tools for the driver.

            

             R is the workhorse software running all the                              RStudio runs using R and allows the users to

             heavy computations.                                                                  to have greater control and organization.

A very nice run through of the differences between R and RStudio, along with some basics of installing, coding and running these software and their packages on your system is presented in Chapter 2. of An Introduction to Statistical and Data Sciences via R by Ismay and Kim (2018).

Downloading R

For Mac Users........................................................................................................................................................

  • From any internet browser, go to https://www.r-project.org/

  • Click on the "download R" link under the "Getting Started" section.

  • This will take you to a list of potential CRAN Mirrors - a list of servers which host the files necessary to download in order for R to run. Here you can choose the mirror which is closest to you (one of the mirrors from Portugal).

  • On the next page we can select "Download R for (Mac) OS X" where you will be taken to a new page which has the most recent release of the R to download.

  • As of the time of writing, the most recent release for R is version 3.5.2 released on 20/12/2018.

  • Download the R-3.5.2.pkg file your download folder.

  • Click the .pkg file to open and follow the installation instructions provided.

For Windows Users...............................................................................................................................................

  • From any internet browser, go to https://www.r-project.org/

  • Click on the "download R" link under the "Getting Started" section.

  • This will take you to a list of potential CRAN Mirrors - a list of servers which host the files necessary to download in order for R to run. Here you can choose the mirror which is closest to you (one of the mirrors from Portugal).

  • On the next page we can select "Download R for Windows" where you will be taken to a new page which has the most recent release of the R to download.

  • As of the time of writing, the most recent release for R is version 3.5.2.

  • Click on "install R for the first time" to begin the download process - save the .exe file in your download folder.

  • Open the .exe file to open and follow the installation instructions provided.

Downloading RStudio

* Note that R must first be downloaded and installed before RStudio can be installed

Mac Users...............................................................................................................................................................

  • From any internet browser, go to https://www.rstudio.com/
  • Choose the "Download RStudio" option.
  • Select the free "RStudio Desktop" version, which will bring you to a list of the most up to date version of RStudio for different operating systems.
  • Download the recommended file for the Mac OS X operating system. As of the time of writing, the most recent version is RStudio 1.1.463.

  • Download the .dmg file into your download folders and click to open and follow the installation instructions provided.

Windows Users......................................................................................................................................................

  • From any internet browser, go to https://www.rstudio.com/

  • Choose the "Download RStudio" option.

  • Select the free "RStudio Desktop" version, which will bring you to a list of the most up to date version of RStudio for different operating systems.

  • Download the recommended file for the Windows operating system. As of the time of writing, the most recent version is RStudio 1.1.463.

  • Download the .exe file into your download folders and click to open and follow the installation instructions provided.