[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp

JJ Allaire jj.allaire at gmail.com
Thu Nov 15 19:30:08 CET 2012

On Thu, Nov 15, 2012 at 1:20 PM, Jiqiang Guo <guojq28 at gmail.com> wrote:

> I tried the example of sourceCpp on Mac mountain lion with R 2.15.1
> with the following error (I hit the similar error in using RStan as
> well).

I think the common problem here might be whether R_ARCH is set correctly.
On the Mac R_ARCH needs to be set in order for R CMD SHLIB, which is used
by both sourceCpp and RStan, to work.

For 64-bit Macs this value would be:


What is R_ARCH set to in your session?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121115/ee2eaf9b/attachment.html>

More information about the Rcpp-devel mailing list