[Rcpp-devel] More Rccp and RccpArmadillo Errors on Mavericks
kevinushey at gmail.com
Mon Nov 4 18:44:54 CET 2013
The .tgz files aren't source packages; those are the formats given to
the binary packages distributed on CRAN. You should be able to install
the source versions with install.packages( c("Rcpp", "RcppArmadillo"),
type="source") (and these are served up as .tar.gz).
Make sure your ~/.R/Makevars file is set up accordingly as well; e.g.
the answers here:
On Mon, Nov 4, 2013 at 9:35 AM, Scott Monroe <monroeleescott at gmail.com> wrote:
> This is sort of piggy-backing on the thread with Michael and Romain.
> I can't get RccpArmadillo working properly and am looking for suggestions.
> I have installed:
> R 3.0.2
> Xcode 5.0.1 and command line tools
> gfortran libs (i.e., gfortran-4.9-bin.tar)
> Rcpp package from source (i.e., Rcpp_0.10.6.tgz)
> RcppArmadillo package from source (i.e., RcppArmadillo_0.3.920.1.tgz)
> below, "rowSums.cpp" contains a function Romain Francis wrote, and can be
> seen in the middle of this post:
> In the R session, I have:
>  2
> Error in
> unable to load shared object
> 6): Symbol not found:
> Referenced from:
> Expected in: flat namespace
> R version 3.0.2 (2013-09-25)
> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>  en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> other attached packages:
>  RcppArmadillo_0.3.920.1 Rcpp_0.10.6
> loaded via a namespace (and not attached):
>  tools_3.0.2
> Any suggestions? Thanks.
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
More information about the Rcpp-devel