You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on my new Mac with Apple M2 Pro and MacOS 13.2.1, I get:
/Users/gw2411/micromamba/envs/pisces-rabbit/lib/R/library/RcppArmadillo/include/armadillo_bits/fn_misc.hpp:172:21: error: no member named 'Rlog1p' in namespace 'std'; did you mean simply 'Rlog1p'?
return (log_a + std::log1p(std::exp(negdelta)));
^~~~~~~~~~
Rlog1p
It fails to install. This also prevents susieR from installing on my new Mac.
It works fine. This also works on Linux OS but i'm not sure if this is a proper fix. @pcarbo what do you think --- would you like to try it out and see?
The text was updated successfully, but these errors were encountered:
@pcarbo No i used the compiler that came from brew. Just got a chance to check the link you sent, which seem to suggest we need the tools for Fortran packages so I doubt it is relevant to this issue? According to this ticket, recompile R from source solves the issue. I wonder if you have an Apple Silicon chip machine with the proper setup as you suggested but not R compiled from source code, to test if the tools you pointed out is sufficient solution?
@gaow I think you are using the wrong C/C++ compiler. As it says on CRAN, you need to use the compilers included with XCode:
"This release uses Xcode 14.2/14.3 and GNU Fortran 12.2. If you wish to compile R packages which contain Fortran code, you may need to download the corresponding GNU Fortran compiler from https://mac.r-project.org/tools/. Any external libraries and tools are expected to live in /opt/R/arm64 (Apple silicon) or /opt/R/x86_64 (Intel)."
Error message
When I run
on my new Mac with Apple M2 Pro and MacOS 13.2.1, I get:
It fails to install. This also prevents
susieR
from installing on my new Mac.Environment
Compiler:
R session
Solution
After applying this fix to
src/Makevars
It works fine. This also works on Linux OS but i'm not sure if this is a proper fix. @pcarbo what do you think --- would you like to try it out and see?
The text was updated successfully, but these errors were encountered: