[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
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: R_ARCH=/x86_64 What is R_ARCH set to in your session? J.J. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121115/ee2eaf9b/attachment.html>