Free · Open Source · Required for RAI

Install R

RAI runs statistics through R. R is free and open source — here is how to get it from the official site in three steps.

Most systems do not come with R. On Windows, nothing else is required after R; XQuartz is optional on macOS — RAI's plot device falls back automatically.

Three steps

Download R from the official site

1

Visit the R Project site

Open cloud.r-project.org — the official site maintained by the R Foundation. No account or payment needed.

2

Choose your operating system

Click Download R for macOS, Download R for Windows, or Download R for Linux. You are redirected to a CRAN mirror to fetch the installer.

3

Run the installer

Open the downloaded file and follow the prompts. That's it — RAI detects R automatically on launch.

Verify the install

  • Open a terminal and run R --version. If it prints a version number, R is ready.
  • Windows: nothing else is required — RAI's portable exe runs once R is installed.
  • macOS: XQuartz is optional — RAI's plot device falls back automatically when it is missing.