Error loading the GMM package on Mac


I'm trying to load the gmm package but keep getting the following error message:

Error: package or namespace load failed for ‘gmm’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/':
  dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/
  Reason: image not found

Any idea on what the problem might be?

Thanks, Kristina

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.