Even if you’re a Windows fan, you’ve probably thought about trying OS X. Maybe you’d like to test drive OS X before switching to a Mac or building a Hackintosh, or maybe you just want to run. Website is under review & updating. And of course all official versions of FlyWithLua are running on all three platforms, Linux, Mac OS X and Windows. Thanks a lot to Sparker for making this possible. Without him, FlyWithLua would be a Windows plugin only. WARNING: Since version 2.6.0 some scripts can stop working! This is because of some new restrictions accessing DataRefs.
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.
Important note about R 4.0.0Starting with R 4.0.0 alpha we are building R using standard Apple tools (Xcode 12.4) and GNU Fortran 8.2 from fxcoudert and the target is macOS 10.13 (High Sierra). All dependent static libraries are available in the libs-4 directory. Please make sure you remove any modifications to build flags from your home 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.
Apple silicon update: it is now possible to build R for the Apple silicon arm architecture (new Macs with the M1 processor) - see our R developer blog post and the instructions in the R manual. The plan is to have an official native arm release of R 4.1.0, but in the meantime we intend to provide native builds of R-devel here - see 'big-sur' builds for arm64 below and more details in the Apple silicon section. Note that the tools are still highly experimental so the arm build is also experimental and things may change as we go. That said, our current Intel releases work just fine on the new Macs as well using Rosetta 2.
Index
- Will R Work on Apple Silicon?(Information on the status of the port to Apple's new M1 architecture.)
Nightly builds for macOS
R framework
Build | OS | Date | Status | Download |
---|---|---|---|---|
R-3.6-branch 3.6.3 Patched (2020/04/28, r80120) | el-capitan | Mar 25 21:18 | x86_64: OK (log) Package: OK | R-3.6-branch-el-capitan-sa-x86_64.tar.gz (67Mb) R-3.6-branch-el-capitan.pkg (78Mb, installer incl. GUI) |
R-4.0-branch 4.1.0 Under development (unstable) (2021/03/26, r80126) | high-sierra | Mar 26 20:43 | x86_64: OK (log) Package: OK | R-4.0-branch.tar.gz (74Mb) R-4.0-branch.pkg (9.6Mb, installer incl. GUI) |
R-devel 4.1.0 Under development (unstable) (2021/03/26, r80126) | high-sierra | Mar 26 20:43 | x86_64: OK (log) Package: OK | R-devel.tar.gz (87Mb) R-devel.pkg (99Mb, installer incl. GUI) |
R-devel 4.1.0 Under development (unstable) (2021/03/25, r80120) | big-sur | Mar 25 21:37 | arm64: OK (log) Package: OK | R-devel.pkg (77Mb, installer incl. GUI) |
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).
NOTE: 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.
Mac OS X GUI
Version | Build | Download |
---|---|---|
Mac OS X GUI rev. 7949 for R 3.6.x | el-capitan-Debug.dmg | R-GUI-7949-3.6-el-capitan-Debug.dmg |
Mac OS X GUI rev. 7949 for R 3.6.x | el-capitan-Release.dmg | R-GUI-7949-3.6-el-capitan-Release.dmg |
Mac OS X GUI rev. 7949 for R 4.1.x | high-sierra-Debug.dmg | R-GUI-7949-4.1-high-sierra-Debug.dmg |
Mac OS X GUI rev. 7939 for R 4.0.x | high-sierra-Release.dmg | R-GUI-7939-4.0-high-sierra-Release.dmg |
Mac OS X GUI rev. 7949 for R 4.1.x | high-sierra-Debug.dmg | R-GUI-7949-4.1-high-sierra-Debug.dmg |
Mac OS X GUI rev. 7941 for R 4.1.x | high-sierra-Release.dmg | R-GUI-7941-4.1-high-sierra-Release.dmg |
Mac OS X GUI rev. 7949 for R 4.1.x | big-sur-Debug.dmg | R-GUI-7949-4.1-big-sur-Debug.dmg |
Mac OS X GUI rev. 7949 for R 4.1.x | big-sur-Release.dmg | R-GUI-7949-4.1-big-sur-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 as 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 inLast Mac Os Version
/opt/R/arm64 including the GNU Fortram compiler and you can download them from libs-arm64. 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 arm binaries without affecting your legacy Intel ecosystem.The big-sur arm64 build of R requires XQuartz 2.8.0_rc1 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 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 and thus are recommended for use with CRAN R package binaries.Mac Os X Version 10.6.8
- GTK+ 2.24.17 framework - 64-bit build of GTK+ 2.24.17, necessary for binary R packages that use GTK+ version 2 (such as RGtk2+). R 3.0.0 and higher, Snow Leopard build
Download: GTK_2.24.17-X11.pkg (ca. 41MB) - GTK+ 2.18.5 framework - universal build of GTK+ 2.18.5, necessary for binary R packages that use GTK+ version 2 (such as RGtk2+). R 2.10.0 - 2.15.3, Leopard build
Download: GTK_2.18.5-X11.pkg (ca. 58MB) - RSwitch - a small GUI that allows you to switch between R versions quickly (if you have multiple versions of R framework installed).
Download: RSwitch-1.2.dmg (ca 67kB, universal, updated 2011/03/24 to support R 2.13.0 and up)
Sources: RSwitch-1.2.tar.gz (Xcode project and sources)NOTE: Bob Rudis is maintaining a new version of a tool which has RSwitch functionality and more - see 3rd party RSwitch replacement (NOT related to R-Foundation or CRAN!).
More external libraries for R 4.0.0 and higher can be found in the /libs-4/ directory. For older versions see the /libs/ directory.