Re: [Rcpp-devel] Segfault in using RInside

2014-02-04 Thread Dirk Eddelbuettel
With one follow-up off-list (where Jiqiang notes that he had in fact rebuilt RInside) and a quick test here, I have to conclude that RInside appears to be a casualty of the recent change. Darn. (gdb) backtrace #0 0x7799bd52 in Rf_isNull (s=0x0) at memory.c:3378 #1 0x7767fa9d in

Re: [Rcpp-devel] Segfault in using RInside

2014-02-04 Thread Dirk Eddelbuettel
On 4 February 2014 at 22:26, Jiqiang Guo wrote: | I got a seg fault from using RInside after upgrading Rcpp to the current | version.  The following is an example of using an example in RInside package: | | $ make rinside_test0 | g++ -I/usr/share/R/include -I/home/jq/R/x86_64-pc-linux-gnu-library

[Rcpp-devel] Segfault in using RInside

2014-02-04 Thread Jiqiang Guo
I got a seg fault from using RInside after upgrading Rcpp to the current version. The following is an example of using an example in RInside package: $ make rinside_test0 g++ -I/usr/share/R/include -I/home/jq/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include -I/home/jq/R/x86_64-pc-linux-gnu-library/

Re: [Rcpp-devel] Sparse matrix operations

2014-02-04 Thread Dirk Eddelbuettel
On 4 February 2014 at 11:09, Yixuan Qiu wrote: | Sure. What are you planning to do with ARPACK? It seems that the newest version | of Armadillo already supports eigs_sym() and eigs_gen() to retrieve a limited | number of eigenvalues. Recall that we link with (post Rcpp 0.11.0) PKG_LIBS=

Re: [Rcpp-devel] Sparse matrix operations

2014-02-04 Thread Yixuan Qiu
Sure. What are you planning to do with ARPACK? It seems that the newest version of Armadillo already supports eigs_sym() and eigs_gen() to retrieve a limited number of eigenvalues. Best, Yixuan 2014-02-03 Dirk Eddelbuettel : > > On 3 February 2014 at 18:09, Yixuan Qiu wrote: > | A pretty nice

Re: [Rcpp-devel] Sparse matrix operations

2014-02-04 Thread Dirk Eddelbuettel
On 4 February 2014 at 09:30, Søren Højsgaard wrote: | Just to clarify this (for myself): | | In a broader perspective, isn't it so now that there is very limited need for as< >(some_SEXP)? | | When calling from R we can declare input to be NumericMatrices, NumericVectors ets, but we can also

Re: [Rcpp-devel] Sparse matrix operations

2014-02-04 Thread Søren Højsgaard
Just to clarify this (for myself): In a broader perspective, isn't it so now that there is very limited need for as< >(some_SEXP)? When calling from R we can declare input to be NumericMatrices, NumericVectors ets, but we can also declare it to be arma-matrices, arma-vectors etc AND also Eig