Setting up the working machine

This series

Installing R

Windows

  1. Go to the CRAN website.
  2. Click Download R for Windowsbaseinstall R for the first time.
  3. Run the installer and follow the setup wizard:
    • Choose installation directory (default is fine).
    • Select components (default is fine).
    • Pick language and shortcuts.
  4. Once installed, open R from the Start Menu or search for “R”.

macOS

  1. Go to the CRAN website.
  2. Click Download R for macOS.
  3. Download the .pkg file for the latest release.
  4. Double-click the .pkg file and follow the installer instructions.
  5. After installation, open R from Launchpad or Finder → Applications.

Linux - Ubuntu / Debian

sudo apt update
sudo apt install r-base

Verify Installation

To check that R is installed correctly, open a R console and run:

version

Installing and configuring your preferred IDE

Installing base packages

Timmy Labs 2025