Open lyh199800 opened 2 months ago
looks like you're using clang and arm archtecture. I'm guessing you're using a Mac. Please refer to R manual about how to enable OpenMP support on Mac and clang.
Well, according to Writing R extensions, support of OpenMP in MacOS coupled with clang is limited or even not exist. A workaround can be found at this guide.
If this works, I suppose you will also have to download the package and adjust flags in src/Makevars accordingly and then install the package from local path
If you want to install this package under Windows, you have to install the rtools for installing source R packages on Windows.
Turns out there is also some old source code in this package which is not compatible with recent version of RcppEigen. I've updated the code and you can try again.
Though to be honest, the OpenMP support on Mac os part is still unchanged in this package.
OK thank you so much! I will try it again.
Turns out there is also some old source code in this package which is not compatible with recent version of RcppEigen. I've updated the code and you can try again.
Though to be honest, the OpenMP support on Mac os part is still unchanged in this package.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Cannot install in R
include
1 error generated. make: *** [RSAVS_ADMM_LargeN.o] Error 1 ERROR: compilation failed for package ‘RSAVS’