Your error: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Users/py/Library/R/3.2/library/Rcpp/libs/Rcpp.so': dlopen(/Users/py/Library/R/3.2/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: __ZNSoD0Ev
says some (mangled) symbol named `__ZNSoD0Ev` could not be found. Using the online demangling tool at http://demangler.com/, I see this symbol is: _std::basic_ostream<char, std::char_traits<char> >::~basic_ostream() which should be provided by your C++ standard library. Given that you're using `g++` on OS X, I'm assuming you installed gcc from macports or something like that, but either that was provided without a standard library (libstdc++), or it's distributed in such a way that libstdc++ isn't located on its default library search path. So, you should either: 1. Figure out where you can get libstdc++ for the g++ compiler you've obtained, or 2. Just use Apple's command line tools (clang etc) as that will 'just work'. Kevin On Tue, May 5, 2015 at 8:41 PM, Peng Yu <pengyu...@gmail.com> wrote: > On Tue, May 5, 2015 at 3:12 PM, Steve Lianoglou > <lianoglou.st...@gene.com> wrote: > > Following the instructions here worked for me: > > > > > http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error > > > > Although the instructions have a slight typo in them, and probably > should read: > > > > curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 > > sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C / > > > > I should note that I was having different problems than what you > > report, though, but try that. > > Nothing has been fixed. I have macports installed. Could it be the problem? > > > Which version of R did you install, btw? I'm assuming you've got a > > binary 3.2-mavericks binary from CRAN (and not compiled your own). > > Yes. Here is my R version. > > ~$ R --version > R version 3.2.0 (2015-04-16) -- "Full of Ingredients" > Copyright (C) 2015 The R Foundation for Statistical Computing > Platform: x86_64-apple-darwin13.4.0 (64-bit) > > R is free software and comes with ABSOLUTELY NO WARRANTY. > You are welcome to redistribute it under the terms of the > GNU General Public License versions 2 or 3. > For more information about these matters see > http://www.gnu.org/licenses/. > > > -- > Regards, > Peng > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel