Skip to content
Prev 2310 / 10988 Next

[Rcpp-devel] Function does not compile on Mac OSX

Hi,

For what it's worth, your code works fine on my mac:

R> ... your code ...
R> fun()
 [1]  2  3  4  5  6  7  8  9 10 11

R> sessionInfo()
R version 2.13.0 Patched (2011-05-11 r55852)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
...

Also:

$ g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
...

I'm not sure how helpful that is, though, as it seems my system is a
bit different than your advisor's.

For instance, I'm running snow leopard (10.6), where it seems your
advisor is running Leopard (10.5)
I'm also running in 64bit mode, and your advisor is running 32bit. I'm
not sure if that's a big difference, but maybe he can force R to run
in 64bit as a test?

Oh .. I'm also running R 2.13.0 (Patched), which you can get here:
http://r.research.att.com/

In the row of that yellow table named "R-2.13-branch"

-steve
[snip]