Closed aditya1315 closed 7 years ago
Which MAC OS X are you running? Is it possible to use the current version of R (3.3.2 on your platform)
The discussion on http://stackoverflow.com/questions/23916219/os-x-package-installation-depends-on-gfortran-4-8 is very helpful on using different versions of fortran with R. the posts at the end are the most relevant in terms of the Makeconf and Makevars files.
You can check which fortran is specified in the file /Library/Frameworks/R.framework/Resources/etc/Makeconf
you may need to set F77 = gfortran-4.8
I have used the recommendation to change the options using the ~/.R/Makevars
I have the lines
F77 = /usr/local/gfortran/bin/gfortran
FC = /usr/local/gfortran/bin/gfortran
in my ~/.R/Makevars file to use with fortran installed from macports
@aditya1315, If you do not want to change the Makeconf, you could try installing gfortran-4.2 (you can download from this site)
@merliseclyde thank you, I was able to install the package
When I try to install it from github using the command,
devtools::install_github('merliseclyde/BAS')
I get the follwing error
what do I do for this? (I have gfortran 4.8 installed on my system)