Loading GMM Package on MacOSX

Hi I am having trouble loading the GMM package on R, I am using an iMac (MacOSX). The installation works but when I load I get:


library("gmm", lib.loc="/Users/sunyongkim/Desktop/Northwestern/Software/R")
Error: package or namespace load failed for ‘gmm’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/sunyongkim/Desktop/Northwestern/Software/R/gmm/libs/gmm.so':
dlopen(/Users/sunyongkim/Desktop/Northwestern/Software/R/gmm/libs/gmm.so, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib
Referenced from: /Users/sunyongkim/Desktop/Northwestern/Software/R/gmm/libs/gmm.so
Reason: image not found


Anyone have any ideas on what I can do to load the package? I have also downloaded XQuartz, so that cannot be the issue.

1 Like

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