R for Mac OS X Developer's Page

This is the new home for experimental binaries and documentation related to R for Mac OS X. 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.

In addition to this nightly generated page, visit the Building R page for the most recent tips.

Index

Universal nightly builds for Mac OS X (10.6+ and 10.9+)

R framework

BuildOSDateStatusDownload
R-3.0-branch
3.0.3 Patched
(2014/03/06, r65339)
snowleopardMar 31 00:23x86_64: OK (log)
Package: OK

R-3.0-branch-snowleopard-sa-x86_64.tar.gz (57Mb)

R-3.0-branch-snowleopard-signed.pkg (66Mb, installer incl. GUI)
R-3.1-branch
3.1.1 Patched
(2014/09/17, r66626)
snowleopardSep 21 00:17x86_64: make check FAILED (log)
Package: OK

R-3.1-branch-snowleopard-sa-x86_64.tar.gz (59Mb)

R-3.1-branch-snowleopard-signed.pkg (68Mb, installer incl. GUI)
R-devel
3.2.0 Under development (unstable)
(2014/09/20, r66650)
snowleopardSep 21 00:32x86_64: OK (log)
Package: OK

R-devel-snowleopard-sa-x86_64.tar.gz (59Mb)

R-devel-snowleopard-signed.pkg (68Mb, installer incl. GUI)
R-3.1-branch
3.1.1 Patched
(2014/09/17, r66626)
mavericksSep 20 23:55Package: OK

R-3.1-branch-mavericks-sa-x86_64.tar.gz (46Mb)

R-3.1-branch-mavericks.pkg (55Mb, installer incl. GUI)
R-devel
3.2.0 Under development (unstable)
(2014/09/20, r66650)
mavericksSep 21 00:08Package: OK

R-devel-mavericks-sa-x86_64.tar.gz (46Mb)

R-devel-mavericks.pkg (55Mb, installer incl. GUI)

Requirements: Mac OS X 10.6 or higher for the Snow Leopard build, Mac OS X 10.9 or higher for the Mavericks build. For additional tools necessary for compiling packages, see below. We use Xcode 4.2 but Xcode 3.2 and higher should work as well. Note that you will need Command Line Tools component of Xcode on Mac OS X 10.7 or higher. The Mavericks build uses Xcode 5.

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). Alternatively you can use the tar-ball (*.tar.gz) which must be unpacked in the root (e.g. tar fvxz R*.tar.gz -C /), but doesn't contain the GUI (see below for a separate download).

NOTE: The installer for the Snow Leopard build of R also 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.

Starting with R 3.0.0 the builds are single-arch 64-bit Intel builds for OS X 10.6 and higher.

Mac OS X GUI

VersionBuildDownload
Mac OS X GUI rev. 6815 for R 3.1.xsnowleopard-Debug.dmgR-GUI-6815-3.1-snowleopard-Debug.dmg
Mac OS X GUI rev. 6815 for R 3.1.xsnowleopard-Release.dmgR-GUI-6815-3.1-snowleopard-Release.dmg
Mac OS X GUI rev. 6815 for R 3.2.xsnowleopard-Debug.dmgR-GUI-6815-3.2-snowleopard-Debug.dmg
Mac OS X GUI rev. 6815 for R 3.2.xsnowleopard-Release.dmgR-GUI-6815-3.2-snowleopard-Release.dmg
Mac OS X GUI rev. 6815 for R 3.1.xmavericks-Debug.dmgR-GUI-6815-3.1-mavericks-Debug.dmg
Mac OS X GUI rev. 6815 for R 3.1.xmavericks-Release.dmgR-GUI-6815-3.1-mavericks-Release.dmg
Mac OS X GUI rev. 6815 for R 3.2.xmavericks-Debug.dmgR-GUI-6815-3.2-mavericks-Debug.dmg
Mac OS X GUI rev. 6815 for R 3.2.xmavericks-Release.dmgR-GUI-6815-3.2-mavericks-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 version 3.1 or higher and a universal Fortran compiler. For details and download, please read the Tools page. The R 3.0.0 and higerh binaries are built using Xcode 4.2.

Building universal binaries

Starting with R 2.5.0 CRAN binaries use Apple's 10.4u SDK allowing universal builds on both PowerPC and Intel Macs. Building universal R is done by compliling two R binaries and setting r_arch parameter to ppc and i386 respectively, along with the proper compiler flags. Those two builds can then be installed into the same framework location, R install process merges them correspondingly.

To build an universal package that contains a configure script, it is necessary to run R CMD twice. Assuming you have a source package foo_0.1.tar.gz, this is how you install it universally:

R CMD INSTALL foo_0.1.tar.gz
R --arch=ppc CMD INSTALL --libs-only foo_0.1.tar.gz
R --arch=x86_64 CMD INSTALL --libs-only foo_0.1.tar.gz
(Note: if the package doesn't contain a configure script, regular single-step installation actually works). You can create a binary package by packing such installed package into a tar ball. The resulting binary will work on both PowerPC and Intel-based Macs.

Legacy R

The current build supports only Mac OS X 10.6 (Snow Leopard) or higher. Older versions of OS X 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 and last release for Mac OS X 10.5 (Leopard) was R 2.15.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.

More external libraries and older versions can be found in 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 AT&T, 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.