title: Packages Requiring Fortran in R not Working in macOS Sierra
body: <p>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: </p>
  
  <pre><code>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...
  </code></pre>
  
  <p>I have tried <a href="https://stackoverflow.com/questions/23916219/os-x-package-installation-depends-on-gfortran-4-8/25912049#25912049">this</a> proposed solution but to no avail.</p>
  
  <pre><code>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 /
  </code></pre>
  
  <p>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. </p>
  
  <p>Any suggestions?</p>