I see.  For some reason, my installing Rcpp from source last time did
not install the 64 bits lib, so
Rcpp.system.file("lib", .Platform$r_arch) for me returns "".

I reinstalled Rcpp 0.10.0 from source and made sure lib/x86_64 exists, then
everything is fine.

Thanks.

--
Jiqiang

On Thu, Nov 15, 2012 at 1:42 PM, JJ Allaire <[email protected]> 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.
>
>
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to