Mandatory tools
UML Designer GitHub Repository. Retrieved 2 August 2020. ^ The UMLet Team (13 November 2016). 'UMLet - UML Tool for Fast UML Diagrams 14.2'. ^ 'GitHub - umlet/umlet: Free UML Tool for Fast UML Diagrams'. November 19, 2019 – via GitHub. ^ 'Umple Releases'. Umple GitHub Repository. Retrieved 21 March 2021. ^ 'News Releases'. A macOS cleaner and performance booster in one app. Get more done with a faster Mac. UML software modeling tool. Import colors from Sketch to Xcode.
In order to compile R for macOS, you will need the following tools:- 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/releasesMake 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
Mac Xcode Tools
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
Xcode For Mac
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
The following tools and libraries are optional. R can be compiled without them, but they provide additional capabilities to R.- 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/)
Old version of this page for much older OS X versions.