Error in dyn.load(file, DLLpath = DLLpath, …) :
unable to load shared object ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/gEcon.so’:
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/gEcon.so, 6): Library not loaded: /usr/local/opt/gcc48/lib/gcc/4.8/libgfortran.3.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/gEcon.so
Reason: image not found
Error: package or namespace load failed for ‘gEcon’
starting httpd help server … done
1. Install fortran from GNU website: https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
2. Make directory tree under /usr/local
3. make links
ln -s /usr/local/gfortran/lib/libgfortran.3.dylib .
ln -s /usr/local/gfortran/lib/libquadmath.dylib libquadmath.0.dylib
4. You are all done! Just go to Packages&Data -> Package Manager and select gEcon.
Please subscribe Leprofesseur } youtube.com/leprofesseurorg on Youtube!
Viewing 1 post (of 1 total)
Your financial help is a lot to us. It is an encouragement for creating more interesting educational contents, helping millions of students around the world. Thanks!