Skip to content
Prev 14439 / 15075 Next

Install error for gmm package

Hasan,

packages shouldn't be using gomp as it is not supported - it seems that gmm is hard-coding -lgomp even if it is not enabled by R. Although this is a bug in gmm (which the authors should fix), you can try to work around it by installing the GNU Fortran compiler as follows:

open the Terminal (under Application->Utilities) and type

cd /tmp
curl -O https://mac.r-project.org/tools/gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz
sudo tar fxz gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz -C /

Cheers,
Simon