On Thu, Nov 15, 2012 at 1:20 PM, Jiqiang Guo <[email protected]> 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:

R_ARCH=/x86_64

What is R_ARCH set to in your session?

J.J.
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to