I am trying to use a number of R packages that rely on fortran in macOS Sierra. However, I get the following error every time I load the packages. For example:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/lpSolve/libs/lpSolve.so': `maximal number of DLLs reached...
I have tried this proposed solution but to no avail.
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
I have also tried re-installing XQuartx and R but not working. I'm thinking about reverting to an earlier version of OS X unless I can figure something out.
Any suggestions?