Re: [Rcpp-devel] Sparse matrices with RcppArmadillo

2012-12-23 Thread Dirk Eddelbuettel
On 9 December 2012 at 14:56, Romain Francois wrote: | Thanks for the valuable information. | | I will look into it more seriously at some point when I have some more | time. I have a minor improvement now, based on poking around in SpMat_meat.hpp and the previous discussion, particularly Conrad

[Rcpp-devel] undefined symbol: clock_gettime in Rcpp 0.10.2

2012-12-23 Thread Martin Morgan
When trying to install Rcpp 0.10.2 with $ R --version R Under development (unstable) (2012-12-18 r61372) -- "Unsuffered Consequences" $ clang++ --version Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) Target: x86_64-pc-linux-gnu Thread model: posix I get $ R CMD I

Re: [Rcpp-devel] undefined symbol: clock_gettime in Rcpp 0.10.2

2012-12-23 Thread Yan Zhou
-lrt is required on Linux. On other platform it will generate an error instead since librt is Linux specific. Yan On Dec 24, 2012, at 10:31 AM, Martin Morgan wrote: > When trying to install Rcpp 0.10.2 with > > $ R --version > R Under development (unstable) (2012-12-18 r61372) -- "Unsuffered

Re: [Rcpp-devel] undefined symbol: clock_gettime in Rcpp 0.10.2

2012-12-23 Thread Dirk Eddelbuettel
On 23 December 2012 at 18:31, Martin Morgan wrote: | When trying to install Rcpp 0.10.2 with | | $ R --version | R Under development (unstable) (2012-12-18 r61372) -- "Unsuffered Consequences" | $ clang++ --version | Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) |

Re: [Rcpp-devel] undefined symbol: clock_gettime in Rcpp 0.10.2

2012-12-23 Thread Yan Zhou
Just a guess. Is it possible that this is caused by the way how R was built? Since you are using clang and R unstable, it is clear that you build R yourself. >From the error message, it happens when "testing if installed package can be >loaded" and trying to load Rcpp.so through dyn.load. I am