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

Dirk Eddelbuettel edd at debian.org
Thu Nov 15 19:55:27 CET 2012

On 15 November 2012 at 13:42, JJ Allaire wrote:
| The error appears to be occurring in the call to RcppLdPath (made by both
| sourceCpp and RStan). Here's the source code for that function:
| RcppLdPath <- function() {
|     if (nzchar(.Platform$r_arch)) { ## eg amd64, ia64, mips
|         path <- Rcpp.system.file("lib",.Platform$r_arch)
|     } else {
|         path <- Rcpp.system.file("lib")
|     }
|     path
| }
| The call to Rcpp.system.file (looking for lib) is failing in your
| configuration. I'm not sure why this would be.

Possibly a non-standard Rcpp installation?

This has never before been an issue and we would have heard from Simon as
well as from legions of OS X users.  These R functions have been unchanged
for very large number of releases... and that particular snippet came

But if there is something programmatic we can / should do as a general
solution we'd be all ears.


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  

More information about the Rcpp-devel mailing list