R For Mac Osx

This directory contains binaries for a base distribution and packages to run on Mac OS X (release 10.6 and above). Mac OS 8.6 to 9.2 (and Mac OS X 10.1) are no longer supported but you can find the last supported release of R for these systems (which is R 1.7.1) here. Releases for old Mac OS X systems (through Mac OS X 10.5) and PowerPC Macs can be found in the old directory.

For macOS 10.13 download see libs-4 on this site (for older OS X verions see libs). PNG, JPEG and TIFF libraries If bitmap manipulation libraries are present, R will add graphics device support for those bitmap formats. There are also other package that take advantage of PNG and JPEG, so it is in general a good idea to install them. R for mac os x free download - R for Mac OS X, Apple Mac OS X Mavericks, Mac OS X Update, and many more programs. Shift + Option/Alt + Command R (if you are running Sierra 10.12.4 of later) will install the version of MacOS that came with your Mac, or the one closest to it that is still available. Installing R on Mac OSX Installing R on Mac OS is similar to Windows. Once again, The easiest way is to install it through CRAN by going to the CRAN downloads page and following the links as shown in the video below: The next step is to click on the 'R-3.6.2.pkg' (or newer version) file to begin the installation. Mac OS X 10.6 Snow Leopard. Mac OS X 10.5 Leopard. Get it for PowerPC or 32bit Intel. Mac OS X 10.4 Tiger. Mac OS X 10.4.7 or later is required. Get it for PowerPC or Intel. Mac OS X 10.3 Panther. QuickTime 6.5.2 or later is required. Get it for PowerPC.

Note: CRAN does not have Mac OS X systems and cannot check these binaries for viruses.Although we take precautions when assembling binaries, please use the normal precautions with downloaded executables.

As of 2016/03/01 package binaries for R versions older than 2.12.0 are only available from the CRAN archive so users of such versions should adjust the CRAN mirror setting accordingly.

R 3.3.1 'Bug in Your Hair' released on 2016/06/21

Please check the MD5 checksum of the downloaded image to ensure that it has not been tampered with or corrupted during the mirroring process. For example type
md5 R-3.3.1.pkg
in the Terminal application to print the MD5 checksum for the R-3.3.1.pkg image. On Mac OS X 10.7 and later you can also validate the signature using
pkgutil --check-signature R-3.3.1.pkg

Files:

R-3.3.1.pkg
MD5-hash: 4ca9fc4cf79138447d368b83860049e3
SHA1-hash: 1281f226e7692c162abd49d4c0fdcdfd1b06bd19

(ca. 71MB)
R 3.3.1 binary for Mac OS X 10.9 (Mavericks) and higher, signed package. Contains R 3.3.1 framework, R.app GUI 1.68 in 64-bit for Intel Macs, Tcl/Tk 8.6.0 X11 libraries and Texinfo 5.2. The latter two components are optional and can be ommitted when choosing 'custom install', it is only needed if you want to use the tcltk R package or build package documentation from sources.

Note: the use of X11 (including tcltk) requires XQuartz to be installed since it is no longer part of OS X. Always re-install XQuartz when upgrading your OS X to a new major version.

R-3.2.1-snowleopard.pkg
MD5-hash: 58fe9d01314d9cb75ff80ccfb914fd65
SHA1-hash: be6e91db12bac22a324f0cb51c7efa9063ece0d0

(ca. 68MB)
R 3.2.1 legacy binary for Mac OS X 10.6 (Snow Leopard) - 10.8 (Mountain Lion), signed package. Contains R 3.2.1 framework, R.app GUI 1.66 in 64-bit for Intel Macs.
This package contains the R framework, 64-bit GUI (R.app), Tcl/Tk 8.6.0 X11 libraries and Texinfop 5.2. GNU Fortran is NOT included (needed if you want to compile packages from sources that contain FORTRAN code) please see the tools directory.
NOTE: the binary support for OS X before Mavericks is being phased out, we do not expect further releases!
Mac-GUI-1.68.tar.gz
MD5-hash: f0026d182efc3bfb342a8bb99bb6f9ee
Sources for the R.app GUI 1.68 for Mac OS X. This file is only needed if you want to join the development of the GUI, it is not intended for regular users. Read the INSTALL file for further instructions.
NEWS (for Mac GUI)News features and changes in the R.app Mac GUI
The new R.app Cocoa GUI has been written by Simon Urbanek and Stefano Iacus with contributions from many developers and translators world-wide, see 'About R' in the GUI.

Subdirectories:

R For Mac Os X

toolsAdditional tools necessary for building R for Mac OS X:
Universal GNU Fortran compiler for Mac OS X (see R for Mac tools page for details).
contribBinaries of package builds for Mac OS X 10.6 or higher (Snow Leopard build)
mavericksBinaries of package builds for Mac OS X 10.9 or higher (Mavericks build)
leopardLegacy binaries of universal (32-bit and 64-bit) package builds for Mac OS X 10.5 or higher (Leopard build)
oldPreviously released R versions for Mac OS X

You may also want to read the R FAQ and R for Mac OS X FAQ. For discussion of Mac-related topics and reporting Mac-specific bugs, please use the R-SIG-Mac mailing list.

Information, tools and most recent daily builds of the R GUI, R-patched and R-devel can be found at http://R.research.att.com/. Please visit that page especially during beta stages to help us test the Mac OS X binaries before final release!

Package maintainers should visit CRAN check summary page to see whether their package is compatible with the current build of R for Mac OS X.

Binary libraries for dependencies not present here are available from http://R.research.att.com/libs and corresponding sources at http://R.research.att.com/src.

Last modified: 2016/06/24, by Simon Urbanek

For

Mandatory tools

In order to compile R for macOS, you will need the following tools:MacR studio mac os x
  • Xcode developer tools from Apple
    Xcode can be obtained from Apple AppStore and the Xcode developer page. Older versions are available in the 'more' section of the Developer pages (Apple developer account necessary).
  • GNU Fortran compiler
    Unfortunately Xcode doesn't contain a Fortran compiler, therefore you will have to install one. We recommend official GNU Fortran binaries from F.X.Coudert. CRAN High-Sierra builds currently use GNU Gortran 8.2 from that page (note that even though compiled for Mojave it is compatible with High Sierra).
    gfortran-8.2-Mojave.dmg (ca. 87MB, GNU Fortran 8.2 from F.X.Coudert)
    SHA256 hash: 81d379231ba5671a5ef1b7832531f53be5a1c651701a61d87e1d877c4f06d369

    This is a copy of GNU Fortran 8.2 build from https://github.com/fxcoudert/gfortran-for-macOS/releases

    Make sure you add /usr/local/gfortran/bin to your PATH in order to use this compiler. This can be done, e.g. by
    export PATH=$PATH:/usr/local/gfortran/bin

NOTE: In order to retain compatibility with native R we recommend using above tools. Although it is possible to compile R using tools from other package managers such as Homebrew, MacPorts or Fink, such binaries are by definition incompatible with macOS native libraries and applications. If you choose one of those package managers, make sure you compile everything using those tools including R and all packages and libraries you intend to use.

Mandatory libraries

Old versions of R provided fall-back versions of dependend libraries. This is no longer the case, the following libraries are not present in most recent macOS (or are too old) and have to be installed before R can be compiled:
  • liblzma (aka xz-utils) https://tukaani.org/xz/
  • PCRE2https://www.pcre.org/ built with --disable-jit (JIT is buggy on macOS)
  • bzip2 may need to be installed if the system version is too old
StudioBinaries for the above libraries are available in /libs-4 as well as many others that are useful for R packages (see optional libraries below).

Note that all binaries used by CRAN are built using the recipes system and thus can be trasparently re-built accordingly.

Optional tools and libraries

Mac

Install R For Mac

The following tools and libraries are optional. R can be compiled without them, but they provide additional capabilities to R.

R Software For Mac

  • LaTeX
    In order to produce documentation, LaTeX is necessary. It can be obtained from several places, for example as a part of MacTeX.
  • GNU readline,
    Although Mac OS X comes with readline-replacement library, it lack some functionality like backward search etc. Therefore many user prefer GNU readline. For macOS 10.13 download see libs-4 on this site (for older OS X verions see libs).
  • PNG, JPEG and TIFF libraries
    If bitmap manipulation libraries are present, R will add graphics device support for those bitmap formats. There are also other package that take advantage of PNG and JPEG, so it is in general a good idea to install them.Again, they are available in /libs-4 (new) and /libs (old).
  • cairo
    R support for cairo graphics can be enabled by installing cario and dependent libraries (also provided in /libs-4).
  • subversion
    If you want to check out R from the SVN repository, you will need subversion. It was included in Xcode 9 and earlier, but is no longer. We are providing a signed binary:
    subversion-1.14.0-darwin15.6.tar.gz(SHA1: 9dab09d6cf608bea6224bdc3ec3e95893e4e9800)
    which works on OS X 10.11 (El Capitan) and higher, is relocatable, i.e., you can put it anywhere you want since it only depends on system libraries.
    (Static build with: apr-1.7.0, apr-util-1.6.1, openssl-1.1.1g, serf-1.3.9, sqlite-3.33.0, subversion-1.14.0)
    This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)

R Statistical Software For Mac

(sources for open source software not linked directly)

Old version of this page for much older OS X versions.

Disclaimer

R For Mac Os X

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.
Comments are closed.