I’m way beyond my expertise except for solving this problem three times with the help of everyone who has posted here (when first installing and running glmmTMB, getting a new computer and doing it again for stan models via brms, and again when upgraded to Catalina).
Am I incorrect that R3.5 and 3.6 use different versions of clang? If so using the above installer will not include the clang6 required for 3.5
I have avoided installing most current R because of my terror of messing up the delicately balanced system that currently works (especially after Catalina upgrade created permissions problems that I solved but don’t remember how.)
I am unendingly grateful for the work by coatless and bgoodri and anyone I didn’t mention who has focused on helping solve a problem you didn’t create!
Hi guys yes upgrading to R3.6.2 fixed it. Models build happily now. I’m still getting oddles or runtime complier warnings - is there a way to suppress those I cannot recall ?
Thanks for your help. My bad. Recent years of MacOS and iOS updates with …issues… have trained me into not updating anything until absolutely necessary 🙈
I did read all the info available, and did the following on Catalina 10.15.2:
Fresh installation R (v. 3.6.2) and R studio (1.2.5019)
Installed latest version of Xcode
Installed r-macos-rtools 3.2.1
Installed Rstan from source
I am still getting this error when running rstan or brms models:
[1] “Error in sampler$call_sampler(args_list[[i]]) : "
[2] " c++ exception (unknown reason)”
error occurred during calling the sampler; sampling not done
It is saying that it cannot install Rcpp and a bunch of other packages, which definitely should not be happening. You should be able to install those as binaries. But then your C++ header files seem to be not found, e.g.,
/usr/local/clang7/include/c++/v1/cmath:313:9: error: no member named ‘signbit’ in the global namespace
I would guess that is because you are using clang++ from Xcode, which would suggest that your PATH is wrong somehow and that you do not have
-> I am not having rstan installations errors anymore back I’m back to the sampling error… (And of course I’m restarting the mac many times)
I wonder if these problems might be caused by the fact that I installed too many times everything and that some old files are still present and generate conflicts?
Thanks a lot again for this great support guys, I really appreciate and I hope to find a solution soon