Closed dtroxell19 closed 1 year ago
So, it seems you are missing the gfortran unix package. This is not specific to shapr, but apparently needed by the R-package RcppArmadillo which shapr uses.
Not a mac user myself, but it seems you are not the first one with such an error. See e.g. https://stackoverflow.com/questions/69639782/installing-gfortran-on-macbook-with-apple-m1-chip-for-use-in-r
I suggest you look at the solutions to the above SO question, and related ones you can find on the installation of gfortran on mac with m1 processor.
Great, this worked for me. I had forgotten to edit the ~/.R/Makevars
file. Thanks for the help!
Hi,
I'm currently trying to install the python wrapper by following the instructions in
shapr/python/README.md
. I have installed Xcode Command Line Tools, R, and the devtools package in R. I also used Homebrew to install gcc but that did not change anything. Below is the error message I receive when runningRscript install_r_packages.R
. Thanks for your help!