R macOS toolchain Evolution

programming
cpp
Author

James Balamuta

Published

May 5, 2019

Modified

August 10, 2025

As the years pass by, the R development toolchain for macOS changes. The goal of this post is to provide a summary of how the toolchain has evolved across the releases.

For help installing or removing the current toolchain, please see the guidelines set forth in:

Historical Release Pages

Alongside the version information, we’ve provided historical CRAN macOS R toolchain information by using the Wayback Machine with the date of the CRAN release and the usual macOS download URL location, e.g. 

Base URL Template

https://web.archive.org/web/{YYYYMMDD}/http://cran.r-project.org/bin/macosx/

These URLs will show the CRAN macOS download page as it appeared around the time each R version was released. The Wayback Machine may not have captured the page on the exact release date, so it will show the closest available snapshot. Some snapshots may not be available for all dates, particularly for older versions

R macOS Toolchain Requirements by Version

The toolchain has changed overtime with respect to the operating system, hardware, compiler, gfortran, and tool directory. Below is a summary of the toolchain requirements for each major R version series, starting from the latest version and going back to the earliest supported versions.

R 4.5.x Series (2025+)

R 4.5.1 - R 4.5.0

Apple Silicon (arm64) Macs

  • Xcode Version: Xcode CLI 16.2 or higher
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 14.2 (universal package: gfortran-14.2-universal.pkg)
  • External Tool Directory: /opt/R/arm64

Intel (x86_64) Macs

  • Xcode Version: Xcode CLI 14.2 or higher
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 14.2 (universal package: gfortran-14.2-universal.pkg)
  • External Tool Directory: /opt/R/x86_64

R 4.4.x Series (2024-2025)

R 4.4.3 - R 4.4.0

Apple Silicon (arm64) Macs

  • Xcode Version: Xcode CLI 14.2/14.3
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 12.2 (universal package: gfortran-12.2-universal.pkg)
  • External Tool Directory: /opt/R/arm64

Intel (x86_64) Macs

  • Xcode Version: Xcode CLI 14.2/14.3
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 12.2 (universal package: gfortran-12.2-universal.pkg)
  • External Tool Directory: /opt/R/x86_64

R 4.3.x Series (2023-2024)

R 4.3.3 - R 4.3.0

Apple Silicon (arm64) Macs

  • Xcode Version: Xcode CLI 14.2/14.3
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 12.2 (universal package: gfortran-12.2-universal.pkg)
  • External Tool Directory: /opt/R/arm64

Intel (x86_64) Macs

  • Xcode Version: Xcode CLI 14.2/14.3
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: gfortran 12.2 (universal package: gfortran-12.2-universal.pkg)
  • External Tool Directory: /opt/R/x86_64

R 4.2.x Series (2022-2023)

R 4.2.3 - R 4.2.0

Apple Silicon (arm64) Macs

  • Xcode Version: Xcode CLI 13.1
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: Experimental GNU Fortran 12 arm64 fork
  • External Tool Directory: /opt/R/arm64

Intel (x86_64) Macs

  • Xcode Version: Xcode CLI 12.4
  • Minimum macOS: macOS 10.13 (High Sierra) and higher
  • gfortran: gfortran 8.2
  • External Tool Directory: /usr/local

R 4.1.x Series (2021-2022)

R 4.1.3 - R 4.1.0

Apple Silicon (arm64) Macs

  • Xcode Version: Xcode CLI 13.1
  • Minimum macOS: macOS 11 (Big Sur) and higher
  • gfortran: Experimental GNU Fortran 11 arm64 fork
  • External Tool Directory: /opt/R/arm64

Intel (x86_64) Macs

  • Xcode Version: Xcode CLI 12.4
  • Minimum macOS: macOS 10.13 (High Sierra) and higher
  • gfortran: gfortran 8.2
  • External Tool Directory: /usr/local

R 4.0.x Series (2020-2021)

R 4.0.5 - R 4.0.0

Toolchain Requirements

R 4.0.5 - R 4.0.4
  • Xcode Version: Xcode CLI 12.4
  • Minimum macOS: macOS 10.13 (High Sierra) and higher
  • gfortran: gfortran 8.2
  • External Tool Directory: /usr/local
  • Architecture: Intel only (Apple Silicon not yet supported)
R 4.0.3 - R 4.0.0
  • Xcode Version: Xcode CLI 10.1
  • Minimum macOS: macOS 10.13 (High Sierra) and higher
  • gfortran: gfortran 8.2
  • External Tool Directory: /usr/local
  • Architecture: Intel only

R 3.6.x Series (2019-2020)

R 3.6.3 - R 3.6.0

Toolchain Requirements

  • Compiler: clang7 with OS X SDK 10.11
  • gfortran: gfortran 6.1 (official CRAN installer)
  • External Tool Directory: /usr/local
  • Architecture: Intel only

R 3.5.x Series (2018-2019)

R 3.5.3 - R 3.5.0

Toolchain Requirements

  • Compiler: clang6 with OS X SDK 10.11
  • gfortran: gfortran 6.1 (official CRAN installer)
  • External Tool Directory: /usr/local
  • Architecture: Intel only

R 3.4.x Series (2017-2018)

R 3.4.4 - R 3.4.0

Toolchain Requirements

  • Compiler: clang4 with OS X SDK 10.11
  • gfortran: gfortran 6.1 (official CRAN installer)
  • External Tool Directory: /usr/local
  • Architecture: Intel only

R 3.3.x and Earlier (2013-2017)

R 3.3.3 - R 3.0.0

Toolchain Requirements:

  • Compiler: Included Xcode CLI clang with OS X SDK 10.9
  • gfortran: gfortran 4.8.2 (custom CRAN build)
  • External Tool Directory: /usr/local
  • Architecture: Intel only

R 2.x Series (2011-2013)

R 2.15.x - R 2.14.x

Toolchain Requirements

Mac OS X 10.6 (Snow Leopard)
  • Xcode Version: Xcode 3.2.3, 3.2.4, or 3.2.5
  • gfortran: GNU Fortran 4.2.4 for Snow Leopard
    • Download: gfortran-42-5664.pkg (for Xcode 3.2.3 through 3.2.5)
    • Download: gfortran-42-5659.pkg (for Xcode 3.2.2)
    • Download: gfortran-42-5646.pkg (for Xcode 3.2 and 3.2.1)
Mac OS X 10.5 (Leopard)
  • Xcode Version: Xcode 3.1.4 only
  • gfortran: GNU Fortran 4.2.4 for Leopard
    • Download: gfortran-42-5577.pkg (for Xcode 3.1.4 only)
Mac OS X 10.4 (Tiger) and earlier
  • Xcode Version: Xcode Development Tools 2.4.0 or higher
  • gfortran: gfortran-4.2.3.dmg

gfortran Binary Downloads

This section provides direct links to gfortran binaries for different macOS versions and architectures.

Current/Recent gfortran Binaries

Universal Binaries (Intel + Apple Silicon)

Official R-macos GitHub Releases

Architecture-Specific Binaries

Apple Silicon (arm64) Binaries

Intel (x86_64) Binaries

Legacy gfortran Binaries

gfortran 8.2 (for R 4.0-4.2 Intel builds)

gfortran 6.1 (for R 3.4-3.6)

Historical Apple Xcode gcc-42 add-ons (for R 2.x-3.3)

Mac OS X 10.6 (Snow Leopard):

Mac OS X 10.5 (Leopard): - gfortran 4.2.4 for Xcode 3.1.4: gfortran-42-5577.pkg

Mac OS X 10.4 (Tiger) and earlier: - gfortran 4.2.3: gfortran-4.2.3.dmg

Custom CRAN gfortran 4.8.2 (for R 3.0-3.3)