R for macOS Developers

This is the new home for experimental binaries and documentation related to R for macOS. To learn more about the R software or download released versions, please visit www.r-project.org.

All software on this page is strictly experimental and subject to acceptance of the supplied R license agreement and the disclaimer at the end of the page.

Starting with R 4.0.0 we are building R using standard Apple tools (Xcode) and GNU Fortran (see tools for downloads and details). We maintain two binary builds:

Note that although M1 Macs can run the Intel build via Rosetta2 the native arm64 build is typically faster. All dependent static libraries are available in the bin directory. Please make sure you remove any modifications to build flags from your home (~/.R) since no custom compilers are used anymore. For more information about alternative OpenMP options (as in older version) see the openmp page of this site.

Index

Nightly builds for macOS

R framework

BuildOSDateStatusDownload
R-4.2-branch
4.2.1 Patched
(2022/09/27, r82928)
high-sierraSep 26 20:42x86_64: OK (log)
Package: OK

x86_64/R-4.2-branch.tar.gz (x86_64, 75Mb)

R-4.2-branch.pkg (87Mb, installer incl. GUI)
R-devel
4.3.0 Under development (unstable)
(2022/09/26, r82921)
high-sierraSep 26 20:56x86_64: OK (log)
Package: OK

x86_64/R-devel.tar.gz (x86_64, 75Mb)

R-devel.pkg (87Mb, installer incl. GUI)
R-4.2-branch
4.2.1 Patched
(2022/10/02, r82992)
big-surOct 2 22:17arm64: OK (log)
Package: OK

arm64/R-4.2-branch.tar.gz (arm64, 75Mb)

R-4.2-branch.pkg (86Mb, installer incl. GUI)
R-devel
4.3.0 Under development (unstable)
(2022/09/29, r82975)
big-surOct 2 22:22arm64: OK (log)
Package: FAILED

R-devel.tar.gz (arm64, 75Mb)

Important: The big-sur builds are compatible with the M1 arm-based Macs only. Intel Macs are supported by the high-sierra build which works on any macOS >=10.13 including Big Sur.

The installer image (*.pkg) is packaged exactly the same way as the CRAN release of R (including the GUI) and it will update your R version (unless you use pkgutil - see instructions during installation and/or the "Multiple versions" section of the R Installation and Administration manual).

Alternatively, you can use the tar-ball (*.tar.gz) in the table above. The tar-ball must be unpacked in the root directory using:

$ tar fvxz R*.tar.gz -C /

NOTE: The tar-ball does not contain the GUI (see below for a separate download), it only contains files under /Library/Frameworks/R.framework so either run it via /Library/Frameworks/R.framework/Resources/bin/R or create a convenience symlink if desired. The installer includes Tcl/Tk package which will install in /usr/local. It is optional (only needed for the tcltk R package) and can be unchecked at installation time.

If you see any issues with the builds, please contact Simon Urbanek (the macOS maintainer of R) or report on the R-SIG-Mac mailing list.

For old OS X El Capitan nightly builds of R 3.x.x please see the old OS X builds page.

Recently, we have introduced "last-success" binaries which are always available (even if the nightly build fails) and intended mostly for CI/CD automated systems to install latest versions. The two locations are split by the build: high-sierra (x86_64) and big-sur (arm64). The xz tar balls contain only the R.framework directory of the final package, so must be unpacked into /Library/Frameworks.

Mac OS X GUI

VersionBuildDownload
Mac OS X GUI rev. 8134 for R 4.2.xhigh-sierra-x86_64-Debug.dmgR-GUI-8134-4.2-high-sierra-x86_64-Debug.dmg
Mac OS X GUI rev. 8132 for R 4.2.xhigh-sierra-x86_64-Release.dmgR-GUI-8132-4.2-high-sierra-x86_64-Release.dmg
Mac OS X GUI rev. 8132 for R 4.3.xhigh-sierra-x86_64-Debug.dmgR-GUI-8132-4.3-high-sierra-x86_64-Debug.dmg
Mac OS X GUI rev. 8132 for R 4.3.xhigh-sierra-x86_64-Release.dmgR-GUI-8132-4.3-high-sierra-x86_64-Release.dmg
Mac OS X GUI rev. 8141 for R 4.2.xbig-sur-arm64-Debug.dmgR-GUI-8141-4.2-big-sur-arm64-Debug.dmg
Mac OS X GUI rev. 8141 for R 4.2.xbig-sur-arm64-Release.dmgR-GUI-8141-4.2-big-sur-arm64-Release.dmg
Mac OS X GUI rev. 8134 for R 4.3.xbig-sur-arm64-Debug.dmgR-GUI-8134-4.3-big-sur-arm64-Debug.dmg
Mac OS X GUI rev. 8134 for R 4.3.xbig-sur-arm64-Release.dmgR-GUI-8134-4.3-big-sur-arm64-Release.dmg

To install, open the image and drag the R icon to your Applications folder. Alternatively the GUI can be run directly off that image without copying if you just want to test it. Build configurations with "64" suffix are 64-bit builds, all others are 32-bit (except for Debug). If you want to use both, rename one of them or place them in different directories.

Tools

In order to compile R and R packages you will need Xcode Developer Tools and a Fortran compiler. For details and download, please read the Tools page. The R 4.0.0 and higer binaries are built using Xcode 11.4.

CRAN macOS master

This is now the master repository for released R package binaries. If you have issues with other mirrors, try using https://mac.r-project.org/ as your mirror since it is updated first.

Apple silicon (aka arm64, aarch64, M1)

To avoid clashes with the Intel builds, we use separate tools and libraries for the arm64 builds of R on macOS. This is only relevant if you want to compile R packages yourself. All tools and libraries live in /opt/R/arm64 including the GNU Fortran compiler and you can download them from bin and tools respectively. It is assumed that /usr/local is unsafe as it may contain Intel binaries which don't mix, therefore R will not try to use /usr/local unless a manual flags override is issued. However, it also means that it is safe to use our arm64 binaries without affecting your legacy Intel ecosystem.

The big-sur arm64 build of R requires XQuartz 2.8.1 or higher to use the X11 components.

Legacy R

The current build supports only macOS X 10.13 (High Sierra) or higher. Older versions of macOS are not supported in binary form, but R can be compiled from sources for such legacy OS versions. Last released version for Mac OS X 10.4 (Tiger) was R 2.10.1, last release for Mac OS X 10.5 (Leopard) was R 2.15.3, last release for Mac OS X 10.11 (El Capitan) was R 3.6.3.

Other legacy binaries

The following binaries are not maintained or supported by R-core and are provided without any guarantee and for convenience only (Mac OS X 10.4.4 or higher required). They match the binaries used on the CRAN binary build machine at the time, but are no longer used.

Disclaimer

All software is provided "as is" and any express or implied warranties, including, but but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the publisher, copyright owner or contributors be liable for any direct, indirect, incidental,special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.