There's no Developer Tools for download at Apple Developer Portal for any OS before 10.3 Panther, so I need your help. I've made a list of the tools I'm looking for: - Mac OS X Developer Tools 10.0.0 (Project Builder 1.0, Inteface Builder 2.0, etc) (bundled with OS).
- Mac OS X 10.9 onward, Xcode was already installed, which is why you aren't able to download these tools. However, what you can do is uninstall the entire Xcode app if you'd prefer to only access these tools and not a whole load of software that isn’t going to be of much use.
- Browse and download Developer Tools apps on your Mac from the Mac App Store. The Mac App Store has a wide selection of Developer Tools apps for your Mac. To download apps from the Mac App Store, you need a Mac with OS X 10.6.6 or later.
Mandatory tools
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
Free Developer Software
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
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.Mac Mentor Scanner Update
- 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.