R installation on Windows 10

Image credit: Panos Sakalakis on Unsplash

Table of Contents

Motivation

Due to the novel coronavirus (SARS-CoV-2) and its related disease 😷 COVID-19 employees and students at Wageningen University & Research are all working from home. Students taking Statistical Courses taught by Mathematical and Statistical Methods at Wageningen University & Research will most likely use R.

This post will show how to install R on a privately owned desktop or laptop computer running Windows 10 as operating system.
The installation instructions in this post are not to be used on WURclient desktops or laptops! For a WURclient desktop or laptop see the post: Custom R installation on a WURclient (will become available soon).

Download

At the time this post was written the latest release of R is version 3.6.3. It has been updated to the latest release version 4.0.2 of R.

The installer for Windows 10 can be downloaded directly from this link: R 4.0.2 for Windows (c. 84 MB, 32- & 64-bit).

For newer versions of R than 3.6.3 the steps described below are the same and still correct, but start with a newer version of the downloaded executable file of R. The screenshots in this post have not been updated, therefore what you see during your installation will differ with respect to the version number shown in the screenshots.

Installation

  1. Open the downloaded file R-4.0.2-win.exe. This file will most likely reside in your Downloads folder of your user account.
  2. Allow to install the software on your computer.
  3. After the installer has started, a first selection window will appear as displayed below. Select the English language and click the ‘OK’ button to proceed.

Language selection during R installation.

  1. Click on the ‘Next’ button to agree to the terms. After this a window will appear, allowing you to select or choose the destination folder, as shown below, where R 4.0.2 for Windows should be installed. If you are content with the default C:\Program Files\R\R-4.0.2 click on the ‘Next’ button to continu, otherwise use the ‘Browse…’ button to navigate to an alternative destination or type the destination path directly into the text field displayed (currently showing C:\Program Files\R\R-4.0.2).

Destination folder during R installation.

  1. After selecting the installation destination folder the component selector will appear, as displayed below. Most desktop and laptop computers these days are using a 64-bit architecture, therefore select (using the pull down menu) the 64-bit User installation as displayed in the image shown below and click on the ‘Next’ button.

Component selection during R installation.

  1. After selecting the components to install the startup options need to be set. Select, as shown below, the customized startup by selecting the ‘Yes’ radio button followed by clicking on the ‘Next’ button.

Customized startup selection during R installation.

  1. The first startup option to set is the Display Mode, as show below. Select the Single Document Interface by selecting the ‘SDI (separate windows)’ radio button as displayed and clicking on the ‘Next’ button.

Display mode selection during R installation.

  1. Next select the help style startup option. Leave this at the default ‘HTML help’ value, as displayed below, and click on the ‘Next’ button.

Help style selection during R installation.

  1. The one before last startup option is to set a ‘Start Menu’ folder name. Unless wishing to use a different name, leave the default value as displayed below. This will create a folder named ‘R’ in the ‘Start Menu’ of Windows, from which the R GUI (graphical user interface) can be started.

Start menu folder selection during R installation.

  1. The last startup option to set allows for some customization of shortcut links. Preferably leave the default settings and continue by clicking on the ‘Next’ button. This will trigger the installation. At the end the image shown below will appear. To exit the setup click on the ‘Finish’ button.
Do not mess around with the ‘Registry entries’ settings.

Completion of the R installation.

Congratulations, 😆, you now have R 4.0.2 installed on your private desktop or laptop computer!
Maikel Verouden, Ph.D.
Maikel Verouden, Ph.D.
Researcher | Lecturer | IT contact person

My research interests include Statistics, Teaching and programmable matter (statistical software).