Bob, which version of OS X and g++ do you have? I had no problems running your example on Lion. But with that release I had to install Rcpp from source, while your transcript indicates a binary version of the package was installed, so you must be using either Leopard or Snow Leopard.
The version of g++ is also important. I wonder why we see the following line in the log: ld: warning: in /usr/local/lib/libstdc++.dylib, file was built for unsupported file format which is not the architecture being linked (i386) I doubt that's the cause of the crash, because the loading fails for you for the 64-bit version of the package, not 32-bit, but still, something is off with your toolchain. Michael Hannon wrote: > My point is that if the problem in question DOES stem from the use of an old > version of g++, it's a problem that might be relatively easy to fix. Of > course, downloading the full Xcode stuff from Apple would also fix the > problem. The problem with XCode is that release 4, which you need with Mac Lion, is only available through the App store. It also does not include GCC but llvm-gcc, which some people have had problems with. It's easiest to just go with the GCC that the R team makes available at http://r.research.att.com/tools/ Davor _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
