The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Installation manual for RStudio and litteR

Dennis Walvoort Wageningen Environmental Research, The Netherlands
Willem van Loon Rijkswaterstaat, The Netherlands

2022-08-26

1 Introduction

The litteR-package requires a recent installation of the R-environment (R version 4.2.1 (2022-06-23) or later). In addition, MS-Windows users also need to install RStudio, an integrated development environment (IDE) for R.

The aim of this manual is to help people with no, or only a limited experience with R and RStudio to

  1. install the R-environment;
  2. install RStudio;
  3. install and update the litteR-package (and its dependencies).

Although this manual primarily focuses on MS-Windows users, users of other operating systems may also find these instructions useful.

2 Installation of R

The latest version of R can be downloaded from the Comprehensive R Archive Network (CRAN) website as follows:

  1. Navigate in a web-browser to https://cran.r-project.org;
  2. Select the R-version for your operating system, e.g., Download R for Windows;
  3. Select ‘base’;
  4. Select Download R x.y.z (where x.y.z. is the version number, e.g., 4.2.1);
  5. Double click on the downloaded file and follow the installation instructions on the screen. In case of doubt, simply select the default/recommended settings.

3 Installation of RStudio

The latest version of RStudio can be downloaded from the RStudio website: https://www.rstudio.com:

  1. Click the download RStudio button;
  2. Click the download RStudio Desktop button;
  3. Click on the link ‘RStudio x.y.z - Windows 10/8/7 (64-bit)’ to download the MS-Windows version of RStudio (or click another link that matches your operating system). Again, x.y.z. is the version number;
  4. Double click on the downloaded file and follow the installation instructions on the screen. In case of doubt, simply select the default/recommended settings.

4 Installation of litteR

The easiest way to install litteR is by means of the package manager of RStudio. The package manager is located at the lower right panel of RStudio. The installation instructions are as follows:

  1. click on the Packages tab in the lower right panel;
  2. click on the Install button on the upper left of this tab (see figure below); Location of the Install button
  3. The Install Packages dialogue will appear (see below). Type litteR in the Packages text box (see below); Install Packages dialogue box
  4. click the Install button. RStudio will now install litteR and all its dependencies.

5 Updating litteR

We will occasionally publish new versions of litteR on CRAN. The easiest way to update litteR is by means of the package manager of RStudio. Simply click the Update button of the Packages tab and RStudio will update all outdated packages.

Location of the Update button

6 Using litteR

For using litteR in your projects, please consult our user manual.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.