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\
A easier solution would be the following. You should soft link the llvm compiler, in the terminal type:
cd /usr/bin sudo ln -fs clang llvm-gcc-4.2 sudo ln -fs clang++ llvm-g++-4.2
Note: This also works for mex in Matlab.