[Rcpp-devel] Installing RcppArmadillo under Ubuntu 10.10

Dirk Eddelbuettel edd at debian.org
Tue Feb 8 22:16:46 CET 2011


On 8 February 2011 at 14:54, Dirk Eddelbuettel wrote:
| | right?  The output of nm -g applied to that shared object does list
| | the major, minor and patch members of the arma_version struct but has
| | them as undefined
| | 
| |                  U _ZN4arma12arma_version5majorE
| |                  U _ZN4arma12arma_version5minorE
| |                  U _ZN4arma12arma_version5patchE
| | 
| | I checked and I don't have any of the Ubuntu packages associated with
| | armadillo installed.
| | 
| | I really don't know what is going on.
| 
| I don't have them! 
| 
| edd at max:~$ nm /usr/local/lib/R/site-library/RcppArmadillo/libs/RcppArmadillo.so | wc -l
| 218
| edd at max:~$ nm /usr/local/lib/R/site-library/RcppArmadillo/libs/RcppArmadillo.so | grep version
| 0000000000004ba0 T armadillo_version
| edd at max:~$ 

PS armadillo_function() works fine as an unexported R function:

edd at max:~$ r -e'print(RcppArmadillo:::armadillo_version())' 
major minor patch 
    1     1     0 
edd at max:~$ 


Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list