Hi, I’m new to rstan and running rstudio on macOS Big Sur 11.3 on a mid-2015 Mac. I’m just trying to install rstanarm at the moment.
I’m getting an error at the C++ level:
“/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/math.h:300:15: fatal error: ‘math.h’ file not found
#include_next <math.h>”
I’ve never had to deal with underlying mechanisms for r (I traditionally use python) so I’m at a bit of a loss. Would anybody here know of how to fix this and to make sure that running it will go relatively smoothly? Thanks in advance.