I have a new iMac and I\'m trying to run code using the Rcpp library that has been working on both my old iMac and Macbook Pro without issue. I have tried everything I can\
Quick guess:
You are running the pre-built R binary which Simon built / CRAN provides.
R stores its configuration options from its compile time, those influence its run-time.
Check via the file $R_HOME/etc/Makeconf
and look at CC and CXX.
As Romain suggested, override CC
and CXX
via a file ~/.R/Makevars
.
Try again.
Edit: I just confirmed with a colleague who has the exact same issue on a Mac OS X which
he just upgrades to XCode 5 -- one now needs to override CC
and CXX
as R was built with the previous version of XCode.