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
<mailto: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
<http://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!