[Rcpp-devel] RcppArmadillo error

Abhisek shieks at gmail.com
Tue Apr 13 13:28:31 CEST 2010


Hi,

sorry to raise this again after a hiatus.  I updated to the latest Rcpp
(0.7.11) and when I tried the following commands:

$ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"`
$ export PKG_LIBS=`Rscript -e "RcppArmadillo:::LdFlags()"`

I obtained the following error.

~/Desktop/Personal/Test$ export PKG_CXXFLAGS=`Rscript -e
"RcppArmadillo:::CxxFlags()"`
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so':

/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so:
undefined symbol: _ZN4Rcpp4growINS_5NamedEEEP7SEXPRECRKT_S3_
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Could you please advise?  Im almost there!

thanks!
abhisek


On Thu, Apr 1, 2010 at 4:12 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> On 1 April 2010 at 09:58, Dirk Eddelbuettel wrote:
> | On 1 April 2010 at 09:57, Romain Francois wrote:
> | | You need Rcpp 0.7.11 (where create was introduced)
> |
> | (And we mentioned that need for 0.7.11 several times)
> |
> | | It has been pushed to cran, but somehow does not appear yet. If you are
> | | in a hurry, you can get it from r-forge:
> | |
> | | $ svn checkout svn://svn.r-forge.r-project.org/svnroot/rcpp/pkg/Rcpp
> | | $ R CMD INSTALL Rcpp
> |
> | I would not recommend that as the code can change and introduce other
> issue.
>
> (To be clear: For folks who know what they are doing this is fine. But
> there
> is a reason we cut releases so in first instance I'd stuckk with releases).
>
> | Releases are at CRAN, and at my Rcpp page.
>
> (I meant to say that in time like right now when CRAN takes a vacation and
> does not upload new files for a few days, the Rcpp page at my site can act
> as
> a fallback).
>
> Dirk
>
> --
>  Registration is open for the 2nd International conference R / Finance 2010
>  See http://www.RinFinance.com for details, and see you in Chicago in
> April!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100413/1a0d8d4a/attachment.htm 


More information about the Rcpp-devel mailing list