79452907

Date: 2025-02-19 22:22:06
Score: 1
Natty:
Report link

You can modify install.packages(), specifying which gcc to use with configure.vars = "". Below I am specifying gcc-14 from homebrew.

install.packages("package_to_install", configure.vars = "CC=/opt/homebrew/bin/gcc-14 CXX=/opt/homebrew/bin/g++-14 FC=/opt/homebrew/bin/gfortran")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Holden Fox