OS X package installation issue: Can't find gfortran 4.8 to build package

后端 未结 1 1366
礼貌的吻别
礼貌的吻别 2021-01-01 07:03

I have an issue on mac os x El Capitan with Xcode 7. I\'m using fortran 6.1, downloaded from https://gcc.gnu.org/wiki/GFortranBinaries. I tried degrading to fortran 4.8. but

相关标签:
1条回答
  • 2021-01-01 07:39

    Following: Unable to install fortran based packages in R - "gfortran -m32:not found"

    I installed gfortran 6.1 from https://gcc.gnu.org/wiki/GFortranBinaries#MacOS

    Then, I added the following to the file ~/.R/Makevars within my home directory pointing to my gfortran installation:

    F77 = gfortran
    FC = gfortran
    FLIBS = -L/usr/local/gfortran/lib
    
    0 讨论(0)
提交回复
热议问题