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.

Two ways to install R are offered here:

  1. WUR AppStore. This is the RECOMMENDED way, because it includes R and everything to run R Commander!
  2. Manual installation for those who, for whatever reason, do not want to use the WUR AppStore.

1. WUR AppStore

The WUR AppStore is the place where you will be able to download, link to, or virtually access the software you need for your study programme and courses. Not only during, but also for self-study after, the computer practical’s and courses.

For more information see: What is the WUR AppStore

Windows 10 compatibility check and WUR AppStore installation

Using the WUR AppStore

The use of the WUR AppStore is very well described by the WUR TEAM Study Anytime, Anyplace. The first article can be found here: How can I use the WUR AppStore

The WUR AppStore currently contains R 4.0.2 Rcmdr. Rcmdr indicates that, apart from running R v4.0.2 by using the default Graphical User Interface (a.k.a. RGui), everything is included to run R Commander.

Support WUR AppStore

In case you need support installing or using the WUR AppStore you can contact the WUR Servicedesk IT either by telephone: +31 (0)317 488888 / mail: servicedesk.it AT wur.nl. You can also visit the Servicepoint IT, ground floor left of the reception desk, in Forum (Building 102) on the WUR Campus.

2. Manual Installation

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.5 of R.

The installer for Windows 10 can be downloaded directly from this link: R 4.0.5 for Windows (ca. 85 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.5-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 in Figure 1. Select the English language and click the ‘OK’ button to proceed.
Language Selection
Language Selection
  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 in Figure 2, where R 4.0.4 for Windows should be installed. If you are content with the default C:\Program Files\R\R-4.0.5 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.5).
Destination Location Selection
Destination Location Selection
  1. After selecting the installation destination folder the component selector will appear, as displayed in Figure 3. 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.
Selection Components to Install
Selection Components to Install
  1. After selecting the components to install the startup options need to be set. Select, as shown in Figure 4 below, the customized startup by selecting the ‘Yes’ radio button followed by clicking on the ‘Next’ button.
Customize Startup Options
Customize Startup Options
  1. The first startup option to set is the Display Mode, as shown below in Figure 5. Select the Single Document Interface by selecting the ‘SDI (separate windows)’ radio button as displayed and clicking on the ‘Next’ button.
Display Mode Selection
Display Mode Selection
  1. Next select the help style startup option. Leave this at the default ‘HTML help’ value, as displayed in Figure 6, and click on the ‘Next’ button.
Help Style Selection
Help Style Selection
  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 in Figure 7. 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
Start Menu Folder selection
  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 in Figure 8 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.
Completion of the R installation.
Congratulations, 😆, you now have R version 4.0.5 installed on your private desktop or laptop computer!
Maikel Verouden, Ph.D.
Maikel Verouden, Ph.D.
Researcher | Lecturer | IT & Organization contact person

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