If you plan to use R, you will need to download R and install it on your computer. It is also advised that you download and install RStudio. RStudio will make it easier to use R and manage your R scripts.
Two good things about R, are that it is free and it runs on most computers.
You can download R from: https://www.r-project.org/
The main R Project web page will look like this.
What is CRAN and why is that a good thing? When you try to download R from the R Project website, you will have to pick a CRAN site to get your download of R. CRAN stands for the “Comprehensive R Archive Network” (CRAN), which is a collection of sites carrying identical material, consisting of the R distribution(s), the contributed extensions, documentation for R, and binaries.
The CRAN master site is at WU (Wirtschaftsuniversität Wien) in Austria and is mirrored daily to many other CRAN sites around the world. Please use the CRAN site closest to you to reduce network load.
From CRAN, you can obtain the latest official release of R, daily snapshots of R (copies of the current source trees), as gzipped and bzipped tar files, a wealth of additional contributed code, as well as prebuilt binaries for various operating systems (Linux, Mac OS Classic, OS X, and MS Windows). CRAN also provides access to documentation on R, existing mailing lists and the R Bug Tracking system.
Downloading R You can download R from: https://www.r-project.org/. Simply click on the CRAN link under Download in the list on the left side of the main R site. You can then pick from the list of worldwide CRAN sites for your download. There is a CRAN server at Washington University, St. Louis, MO, USA. That would be a good option. Clicking on the cran.wustl.edu link will take you to the actual download page.
The simplest option is to download the precompiled binary distribution for your operating system. Links for those are at the top of the Downloads page.
Clicking the link on the downloads page will take you to the file repository. If you are trying to download R for OSX, the page will look like this.
You can either select the most recent version of R [example at arrow A - note: the version number may differ from this example image] or download the version with the latest date [example at arrow B - note: the date may differ from this example image]. Select the download and save it to your Downloads folder. That is it. You are ready to install R on your computer.
you are trying to
download R for Windows, click the Windows download link. You will be
show the Windows download folders. The page will look like this.
You only need the base install of R. When you click the link for the base folder the next page will look like this:
Downloading RStudio You can use R as it was installed on your computer but that involves entering commands from the Terminal prompt and editing R scripts in a separate text editor. RStudio is an easier option and it provides a useful set of tools that will make your work easier.
You can download RStudio from https://www.rstudio.com/. Click the Download RStudio button near the top of the page. You will want to download the Open Source Edition of RStudio Desktop. This is the free version of the application. Commercial entities must pay for an RStudio license. As a student, you do not.
You want to Download the free RStudio Desktop application. Scroll down the page and then click the installer for your operating system. Save the RStudio installer download to the Downloads folder on your computer. You are ready to install RStudio on your computer.