Hello,
We are about to release RcppArmadillo 0.2.0 which works with Rcpp 0.8.0
and includes armadillo so all these issues should disappear.
Romain
Le 18/05/10 14:04, Abhisek a écrit :
i thought i would repost here as it is a similar problem:
i updated Rcpp and then RcppArmadillo and when i run : export
PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"`
i get the following error
abhi...@shieks:~/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: _ZN4arma12arma_version5majorE
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
i tried recompiling RcppArmadillo, as well as uninstalling and
reinstalling RcppArmadillo from install.packages() to no avail.
could someone assist?
many thanks!
abhisek
On Wed, Apr 14, 2010 at 6:51 PM, Davor Cubranic
<[email protected]
<mailto:[email protected]>> wrote:
On April 13, 2010 04:28:31 am Abhisek wrote:
> sorry to raise this again after a hiatus. I updated to the latest
> Rcpp (0.7.11) and when I tried the following commands:
[...]
> /home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/Rcp
> pArmadillo.so: undefined symbol:
> _ZN4Rcpp4growINS_5NamedEEEP7SEXPRECRKT_S3_ Calls: ::: ... tryCatch
> -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted
I ran into a similar error today after I upgraded my version of Rcpp
from 0.7.10 (or maybe 0.7.10.1) to 0.7.11:
/opt/R-2.10.1/lib/R/library/RcppArmadillo/libs/RcppArmadillo.so:
undefined symbol:
_ZN4Rcpp8internal12set_list_eltINS_5NamedEEEbP7SEXPRECS4_iRKT_
In my case, uninstalling RcppArmadillo and then installing it again
fixed
the error.
Maybe a new package version scheme is necessary to make it easier to
keep RcppArmadillo and Rcpp in sync? Would bumping up version numbers
more when there is a breaking API change help? For instance, when Named
was eliminated between 0.7.10 and 0.7.11, the new version could have
been called 0.8. RcppArmadillo packages would then depend on the Rccp
version being less than the next major API change.
Davor
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/936ck2 : Rcpp 0.8.0
|- http://bit.ly/9aKDM9 : embed images in Rd documents
`- http://tr.im/OIXN : raster images and RImageJ
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel