Skip to content

Initial Release

Compare
Choose a tag to compare
@coatless coatless released this 23 May 23:12
· 32 commits to main since this release

Video: Installing and using the {macrtools} package to setup the R Compilation Toolchain for macOS

  • Automatic compiled code toolchain installation on macOS for R 4.0 - 4.2
    • In R, type into console: macrtools::macos_rtools_install()
  • Install specific components of macOS compiled toolchain are available through:
    • Install Xcode CLI Tools with: macrtools::xcode_cli_install()
    • Install gfortran with: macrtools::gfortran_install()
    • Install precompiled binaries from the recipes for macOS project
      with macrtools::recipes_binary_install('r-base-dev')
  • Check if toolchains components are available:
    • Check if Xcode CLI Tools is installed with: macrtools::is_xcode_cli_installed()
    • Check if gfortran is installed with: macrtools::is_gfortran_installed()
  • Uninstall toolchains components when they are no longer needed:
    • Uninstall Xcode CLI Tools with: macrtools::xcode_cli_uninstall()
    • Uninstall gfortran with: macrtools::gfortran_uninstall()