# R

Free statistical computing and graphics environment with the R language, packages and a native Mac interface.

> This is the Markdown version of the R page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/r-app>

- **Latest version**: `4.6.2,sonoma`
- **Developer**: R Core Team
- **Homepage**: <https://www.r-project.org/>
- **Categories**: [Data Analysis](https://opennavo.com/categories/data-analysis)
- **Install**: `brew install --cask r-app`
- **30-day installs**: 996
- **Homebrew**: Available; updated by Homebrew
- **Former tokens**: r
- **Download URL**: <https://cloud.r-project.org/bin/macosx/sonoma-arm64/base/R-4.6.2-arm64.pkg>
- **SHA-256**: `a678b4db1fcd71b1b1cc58edcfa4a8d36ee012a02659dde9eab9366e93571157`
- **Installer packages**: R-4.6.2-arm64.pkg

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "delete": [
            "/usr/bin/R",
            "/usr/bin/Rscript"
          ],
          "pkgutil": [
            "org.r-project*",
            "org.R-project*"
          ]
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "R-4.6.2-arm64.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "R-4.6.2-arm64.pkg"
    ],
    "type": "pkg"
  },
  {
    "declaration": {
      "zap": [
        {
          "delete": "/Library/Frameworks/R.Framework",
          "trash": [
            "~/.R",
            "~/.Rapp.history",
            "~/.RData",
            "~/.Rhistory",
            "~/.Rprofile",
            "~/Library/Caches/org.R-project.R",
            "~/Library/R"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

R is a free environment for statistical computing, programming and graphics, developed by the R Core Team and contributors. This Mac distribution installs the R framework, command-line tools and native R.app interface. It serves researchers, statisticians, students and analysts who need scriptable data analysis. R.app is not RStudio and does not include a separate notebook IDE or database server.

Use the R language to import and transform data, fit models, run statistical tests, simulate results and produce graphics. Scripts and functions support reproducible analyses; additional packages extend the base system. Packages have their own licenses and may need external libraries. Scripts and packages execute code with your account's access to files, processes and networks. Database and cloud connections require separately configured services and credentials; R does not supply paid datasets or hosted computing.

Install the r-app Cask or the appropriate official signed PKG. Official HEAD reports 105,066,342 bytes for the recorded R 4.6.1 Apple Silicon package. CRAN requires macOS 14 Sonoma or later for that arm64 package. A separate Intel x86_64 package requires macOS 11 Big Sur or later. These are separate packages, not a universal installer. Windows and Unix/Linux have separate distributions.

The Mac package includes R 4.6.1, R.app GUI 1.83, and optional Tcl/Tk 8.6.12 X11 libraries and Texinfo 7.3 components. The latter two components can be deselected in a custom installation when you do not need Tcl/Tk or to build package documentation. X11 features, including Tcl/Tk, require XQuartz 2.8.5 or later; this is not a dependency for every ordinary console analysis. The PKG installer may request administrator authorization and access to a protected Downloads folder. Grant appropriate access or move the PKG to an accessible location.

Compiling packages from source can require developer tools, external libraries and suitable compilers. Current Mac builds use GNU Fortran 14.2 for Fortran code. Compatible binary packages do not require every user to install a compiler. ARM and Intel library locations differ; follow package architecture requirements instead of mixing binaries. Keep backups of scripts and data before changing runtimes or packages, and verify compatibility and numerical results when reproducing work across versions.

R is licensed under the GNU General Public License, version 2 or version 3. The runtime is free to download and use, including commercial work, subject to its license. Local use requires no R account, activation key or subscription. Commercial support, third-party services and separately licensed packages are separate products.

Official sources: https://www.r-project.org/ ; https://cran.r-project.org/bin/macosx/ ; https://cran.r-project.org/doc/manuals/r-release/NEWS.html ; https://cran.r-project.org/doc/manuals/r-release/R-admin.html

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 4.6.2,big-sur · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · Checked 2026-11-22
  - <https://cloud.r-project.org/bin/macosx/big-sur-x86_64/base/R-4.6.2-x86_64.pkg>
  - SHA-256: `aa9b1dba09cc69710571ad93efba26a9bcb5a0098543dadc4bb8e419a423195e`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 4.6.2,sonoma · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · Checked 2026-11-22
  - <https://cloud.r-project.org/bin/macosx/sonoma-arm64/base/R-4.6.2-arm64.pkg>
  - SHA-256: `a678b4db1fcd71b1b1cc58edcfa4a8d36ee012a02659dde9eab9366e93571157`

## Uninstall

- `brew uninstall --cask r-app`

A regular uninstall removes the app and keeps its settings and caches.

### Uninstalling also removes

- Installer receipts (pkgutil): `org.r-project*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Installer receipts (pkgutil): `org.R-project*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `/usr/bin/R` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `/usr/bin/Rscript` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `brew uninstall --zap --cask r-app`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/.R` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/.Rapp.history` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/.RData` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/.Rhistory` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/.Rprofile` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Caches/org.R-project.R` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/R` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `/Library/Frameworks/R.Framework` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.

## Latest release notes

### 4.6.2,sonoma

R 4.6.2 fixes rhyper integer overflow, nlminb and ksmooth crashes, besselI/besselK segfaults, and Windows path.expand issues.

- `rhyper(N, m, n, k)` now switches to the “large” scenario when `m + n` is larger than `.Machine$integer.max`, preventing integer overflow.
- Fixed a long-standing Fortran compiler optimization bug in `nlminb` with constraints.
- Wrappers now duplicate a potentially shared wrapped object before returning a read-only pointer, so cached read-only pointers no longer become invalid.
- `writeChar()` in a multibyte locale counts characters and bytes consistently and no longer overflows.
- `ksmooth()` no longer crashes or writes out of bounds with empty or zero-length arguments.
- `besselI(1, 1e11)` and `besselK()` now warn and return `NaN` instead of segfaulting; too large `|nu|` values also return `NaN`.
- `dummy.coef()` handles non-syntactic variable names more robustly.
- `strsplit(str, perl=TRUE, bytes=TRUE)` no longer accesses invalid memory with invalid UTF-8 input.
- `strptime()` returns correct results for `"%OS"` and week-number formats, fixing several longstanding issues.
- Plain-text help (`Rd2txt`) again recognizes paragraphs started with a non-indented Rd comment.
- The Quartz device now draws long paths correctly.
- On Windows, `path.expand("~")` and similar work when the user name is not in ASCII.
- On Windows, `file.copy(*, date=TRUE)` no longer opens files for exclusive access and copies the file time reliably.

[Official release notes](https://cran.r-project.org/doc/manuals/r-release/NEWS.html)

## Facts and sources

- <https://opennavo.com/apps/r-app>
- <https://opennavo.com/apps/r-app/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/r-app.rb> · Checked 2026-11-22
- <https://formulae.brew.sh/cask/r-app>
