R-2.15.3 for Windows (32/64 bit) Download R 2.15.3 for Windows (47 megabytes, 32/64 bit) Installation and other instructions; New features in this version; If you want to double-check that the package you have downloaded exactly matches the package distributed by R, you can compare the md5sum of the.exe to the true fingerprint. Jul 16, 2020.
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 alpha we are building R using standard Apple tools (Xcode 11.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.
Index
Nightly builds for macOS
R framework
| Build | OS | Date | Status | Download |
|---|---|---|---|---|
| R-3.6-branch 3.6.3 Patched (2020/04/28, r78971) | el-capitan | Aug 4 23:30 | x86_64: OK (log) Package: OK | R-3.6-branch-el-capitan-sa-x86_64.tar.gz (67Mb) R-3.6-branch-el-capitan-signed.pkg (77Mb, installer incl. GUI) |
| R-4.0-branch 4.0.3 beta (2020/10/01, r79287) | high-sierra | Oct 1 21:41 | x86_64: OK (log) Package: OK | R-4.0-branch.tar.gz (72Mb) R-4.0-branch.pkg (85Mb, installer incl. GUI) |
| R-devel 4.1.0 Under development (unstable) (2020/10/01, r79287) | high-sierra | Oct 1 21:52 | x86_64: OK (log) Package: OK | R-devel.tar.gz (73Mb) R-devel.pkg (85Mb, installer incl. GUI) |
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.
R 2.15 Download Mac Download
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. 7782 for R 3.6.x | el-capitan-Debug.dmg | R-GUI-7782-3.6-el-capitan-Debug.dmg |
| Mac OS X GUI rev. 7782 for R 3.6.x | el-capitan-Release.dmg | R-GUI-7782-3.6-el-capitan-Release.dmg |
| Mac OS X GUI rev. 7889 for R 4.0.x | high-sierra-Debug.dmg | R-GUI-7889-4.0-high-sierra-Debug.dmg |
| Mac OS X GUI rev. 7889 for R 4.0.x | high-sierra-Release.dmg | R-GUI-7889-4.0-high-sierra-Release.dmg |
| Mac OS X GUI rev. 7889 for R 4.1.x | high-sierra-Debug.dmg | R-GUI-7889-4.1-high-sierra-Debug.dmg |
| Mac OS X GUI rev. 7889 for R 4.1.x | high-sierra-Release.dmg | R-GUI-7889-4.1-high-sierra-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.Experimental binary packages
This site no longer hosts experimental packages. It 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.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.3Free Download Mac Software
, 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.- 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.
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.R and RStudio are both free, open-source software, available for all commonly used operating systems, including Windows, Mac OS X, and Linux systems. R and RStudio install in the standard manner on each of these systems. System-specific instructions for installing R are given below. Regardless of your operating system, you should install R before installing RStudio.
Please read and follow these instructions carefully to avoid problems.
R 2.15 Download Mac Installer
Installing R on Windows
Visit the Comprehensive R Archive Network (CRAN) and select a mirror site near you; a link to a list of CRAN mirrors appears at the upper left of the CRAN home page. It makes sense to use the Spain mirror (note, however, that the language for CRAN mirrors is English regardless of their locations). Click on the link Download R for Windows, which appears near the top of the page; then click on install R for the first time, and subsequently on Download R 2.15.1 for Windows (or whatever is the current version of R at the time of download). Once it is downloaded, double-click on the R installer. You may take all of the defaults, but I suggest that you make the following modifications:
Instead of installing R in the standard location, C:Program FilesRR-2.15.1, I suggest that you use C:RR-2.15.1. This should allow you to install packages without running R with administrator privileges and will avoid problems that sometimes occur when there are spaces in paths.
In the Startup options screen, select Yes (customized startup). Then select the SDI (single-document interface) in preference to the default MDI (multiple-document interface); feel free to make other changes, but you may take all the remaining defaults.
Building Packages Under Windows (Optional)
If you wish to build packages, you will have to install some additional software and properly configure your Windows system. You do not have to be able to build R packages in order to install pre-built Windows binary packages from CRAN, so these steps are unnecessary unless you plan to write your own packages.

Click on the Rtools link on the R for Windows CRAN page. Download the current version of the Rtools installer and run it. You may take all of the other defaults, but do allow the Rtools installer to modify your system path, by checking the box to edit the system path. Add c:RR-2.15.1bin; to the path (assuming that you installed R in the location that I suggested), after the items added by the Rtools installer (i.e., after c:Rtoolsgcc-4.6.3bin). Type this location carefully, including the terminating semicolon -- you don't want to mess up your path.
If you want to be able to build PDF help files, download and install the MiKTeX LaTeX system; there is also a link to MiKTeX on the Building R for Windows page. Installing MiKTeX will also allow you to create Sweave documents in RStudio.
Installing R on Mac OS X
Visit the Comprehensive R Archive Network (CRAN) and select a mirror site near you; a link to a list of CRAN mirrors appears at the upper left of the CRAN home page. It makes sense to use the Spain mirror (note, however, that the language for CRAN mirrors is English regardless of their locations). Click on the link Download R for MacOS X, which appears near the top of the page; then click on R-2.15.1.pkg (latest version) (or whatever is the current version at the time of download). Once it is downloaded, double-click on the R installer. You may take all of the defaults.
Building Packages Under Mac OS X (Optional)
To build R packages, you must install the Apple Xcode developer tools. For Mac OS X 10.7 (Lion) or Mac OS X 10.8 (Mountain Lion), you can install Xcode for free from the App Store. For earlier versions of Mac OS X, Xcode can be installed from your system DVD or downloaded from the Apple developer website. You do not need Xcode to install pre-built Mac OS X binary packages from CRAN, so this step is unnecessary unless you plan to write your own packages.
Some R packages include Fortran code; to build such packages, you will have to install a Fortran compiler. You do not need the Fortran compiler to build most packages, nor to install pre-built Mac OS X binary packages from CRAN. Click on the tools link on the R for Mac OS X page, and click on the link for gfortran-4.2.3.dmg. Double-click on this file once the download is complete; and then double-click on the installer, gfortran.pkg. Complete the installation.
If you want to be able to build PDF help files, download and install the MacTeX LaTeX system. Installing MacTeX will also allow you to create Sweave documents in RStudio.
Installing R on Linux Systems
Visit the Comprehensive R Archive Network (CRAN) and select a mirror site near you; a link to a list of CRAN mirrors appears at the upper left of the CRAN home page. It makes sense to use the Spain mirror (note, however, that the language for CRAN mirrors is English regardless of their locations). Click on the link Download R for Linux, which appears near the top of the page. R is available for several Linux distributions (Debian, RedHat, SUSE, and Ubuntu); select your distribution, and proceed as directed.
If you have a Linux or Unix system that's not compatible with one of these distributions, you will have to compile R from source code; the procedure for doing so is is described in the R FAQ (frequently asked questions) list.
Installing RStudio
Go to the RStudio home page and click on the Download RStudio button at the upper right; then click on Download RStudio Desktop. The RStudio website should detect your operating system (Windows, Mac OS X, or Linux); click on the link for the current release of RStudio for your system.
Once it is downloaded, run the RStudio installer and take all of the defaults: In Windows, double-click on the RStudio installer to start the installation; in Mac OS X, double-click on the downloaded RStudio disk-image file, and drag the RStudio icon to the Applications folder.
When you first run RStudio, it should detect your R installation and start the R 2.15.1 console. To configure RStudio to your taste, select Tools -> Options (Windows) or RStudio -> Preferences (Mac OS X) from the RStudio menus. If you encounter difficulties, consult the RStudio troubleshooting guide.
Installing R Packages for the Workshop
Once you have installed R and RStudio, you can install additional packages required for the workshop by typing the install.packages command at the > command prompt in the R Console (and pressing the Enter or return key); for example,
install.packages(c('car', 'effects', 'sem'))
You will be prompted to select a CRAN mirror site. Alternatively, you can install packages from the RStudio Packages tab.