fenguoerbian / RSAVS

An R package for robust subgroup analysis and variable selection.
https://fenguoerbian.github.io/RSAVS/
5 stars 3 forks source link

Cannot install in R #3

Open lyh199800 opened 2 months ago

lyh199800 commented 2 months ago

Cannot install in R

fenguoerbian commented 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.

fenguoerbian commented 2 months ago

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

fenguoerbian commented 2 months ago

If you want to install this package under Windows, you have to install the rtools for installing source R packages on Windows.

fenguoerbian commented 1 month ago

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.

lyh199800 commented 1 month ago

OK thank you so much! I will try it again.

--------------原始邮件-------------- 发件人:"Chao Cheng @.>; 发送时间:2024年5月25日(星期六) 下午4:48 收件人:"fenguoerbian/RSAVS" @.>; 抄送:"lyh199800 @.>;"Author @.>; 主题:Re: [fenguoerbian/RSAVS] Cannot install in R (Issue #3)

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: @.***>