Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-18 Thread Simon Barthelmé
ect.org <mailto:rcpp-devel@lists.r-forge.r-project.org>" mailto:rcpp-devel@lists.r-forge.r-project.org>> Subject: Re: [Rcpp-devel] using SparseSuite and RcppEigen in package Message-ID: <1516209796.843.99.ca...@iarc.fr <mailto:1516209796

Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-18 Thread Dmitriy Selivanov
igen in package (Martyn Plummer) -- Message: 1 Date: Wed, 17 Jan 2018 17:23:18 + From: Martyn Plummer To: "simon.barthe...@gipsa-lab.fr" , "e...@debian.org" , "rcpp-devel@lists.r-forge.r-project.org" Subject: Re: [Rcpp

Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-17 Thread Martyn Plummer
I think it is worth asking Martin Maechler if he could expose more SuiteSparse functionality through the Matrix package. Martyn On Wed, 2018-01-17 at 15:06 +0100, Simon Barthelmé wrote: > Hi Dirk, > > Thanks for your suggestion - I had thought of doing that but it requires > tracking the versio

Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-17 Thread Simon Barthelmé
Hi Dirk, Thanks for your suggestion - I had thought of doing that but it requires tracking the versions of SuiteSparse used by Matrix, which means extra maintenance work. OTOH maybe updates are rare enough that it's not worth worrying about. It'd be nice if Matrix could expose more of SuiteSpa

Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-17 Thread Yixuan Qiu
RSpectra does not use CHOLMOD, so probably it is not helpful here. I would suggest that you build CHOLMOD as an external library with headers, and then directly link Eigen and your code to the external CHOLMOD, ignoring the one shipped with Matrix. It is just like all other R packages that require

Re: [Rcpp-devel] using SparseSuite and RcppEigen in package

2018-01-17 Thread Dirk Eddelbuettel
On 17 January 2018 at 13:10, Simon Barthelmé wrote: | I'm trying to use some CHOLMOD functionality inside an R package | (specifically, sparse Cholesky updates/downdates). There's an | CHOLMOD/Eigen interface for that, but unfortunately the header I need is | not shipped as part of either the M