[Rcpp-devel] Problems on a new Mac
Davor Cubranic
cubranic at stat.ubc.ca
Thu Mar 1 06:06:28 CET 2012
Or, when you're installing R binary from http://r-project.org, grab
the Mac compiler tools from http://r.research.att.com/tools/
It includes GCC and GNU Fortran:
http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg
Davor
On 2012-02-27, at 11:30 PM, Höfler, Josef wrote:
> I guess you are using Xcode 4.2 or later. There the new llvm
> compiler is used for g++ which is causing problems with Rcpp.
> This compiler is working for some Rcpp things but mainly fails. I
> had similar errors and couldn't get the llmv compiler to work
> with Rcpp. It seems that mainly all vector operations fail (like
> repp sugar and also your example)
>
> You can either downgrade to Xcode 4.1 or install a gnu compiler.
> I would recommend installing a gnu compiler. You can find the
> installation package and a tutorial here:
> http://woss.name/2012/01/24/how-to-install-a-working-set-of-compilers-on-mac-os-x-10-7-lion/
>
> for me after changing the compiler everything worked.
>
> josef
More information about the Rcpp-devel
mailing list