Updating R and RStudio

Updating R

Windows

To update R on Windows, try using the package installr (only for Windows)

  1. Open R and install and load installr.
    > install.packages("installr")
    > library(installr)
  2. In R, execute the updateR() function. This will start the updating process of your R installation by: “finding the latest R version, downloading it, running the installer, deleting the installation file, copy and updating old packages to the new R installation.”

macOS

On Mac, you can simply download and install the newest version of R from https://cloud.r-project.org/bin/macosx/. When you restart RStudio, it will use the updated version of R.

Updating RStudio

From within RStudio, go to Help > Check for Updates to install newer version of RStudio.

Fresh Installation

If you do not have R and/or RStudio installed on you laptop, use the following links to install R and RStudio.

R installation

Windows
https://cran.rstudio.com/bin/windows/base/
MacOS
https://cloud.r-project.org/bin/macosx/
Linux
It is recommend to install via the package management system for your OS. If you have any questions, send an email to cribioinfo@uic.edu

Once you have R installed, please install RStudio. The website https://www.rstudio.com/products/rstudio/download/#download has installation instructions and links to the installers for different operating systems.

R tools installation/upgrade

This is a set of tools that allows R to compile certain packages. Please use the link that corresponds to the operating system on your laptop. Please note, you may need to reboot your machine after installing Rtools.

Windows
https://cran.rstudio.com/bin/windows/Rtools/ We recommend installing rtools40-x86_64.exe, UNLESS you have a 32-bit system.
macOS
https://mac.r-project.org/tools/. Install Xcode (from Apple App Store) and GNU Fortran compiler v8.2.

Any questions? Send an email to cribioinfo@uic.edu