R macOS toolchain Evolution

Intro

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 the current toolchain, please see the guidelines setforth in R Compiler Tools for Rcpp on macOS.

Historical Information

The toolchain has changed overtime with respect to the compiler and gfortran requirements. In particular, in prior version of R the compiler was:

  • R 3.6.z
    • Compiler: clang7
    • Fortran: gfortran6.1
  • R 3.5.z: clang6
    • Compiler: clang6
    • Fortran: gfortran6.1
  • R 3.4.z: clang4
    • Compiler: clang4
    • Fortran: gfortran6.1
  • R 3.0.0 - 3.3.3:
    • Compiler: Included Xcode CLI clang version
    • Fortran: gfortran4.8.2 (custom)

Note: The gfortran binary has shifted from a custom version of gfortran4.8.2compiled by the CRAN macOS maintainers to the official binaries by the GNU project.