Hi,
I updated RStudio and now following the RStan installation instructions fail with the below code. Seems to be something to do with RcppEigen, which also can’t be installed separately. Does anybody know how to fix this?
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen’
Warning in install.packages :
installation of package ‘RcppEigen’ had non-zero exit status
ERROR: dependency ‘RcppEigen’ is not available for package ‘StanHeaders’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders’
Warning in install.packages :
installation of package ‘StanHeaders’ had non-zero exit status
ERROR: dependencies ‘StanHeaders’, ‘RcppEigen’ are not available for package ‘rstan’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan’
Warning in install.packages :
installation of package ‘rstan’ had non-zero exit status