[Rcpp-devel] using SparseSuite and RcppEigen in package
simon.barthelme at gipsa-lab.fr
Wed Jan 17 15:06:18 CET 2018
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 SuiteSparse,
though, I'm sure I'm not the only one who needs that stuff.
Le 17/01/2018 à 13:35, Dirk Eddelbuettel a écrit :
> 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 Matrix package or the Rcpp package.
> | The file is cholmod_modify.h, and it does appear in the src/ directory
> | of the Matrix package, but not in the include/ directory.
> | If I include it by hand I risk version conflicts, because the rest of
> | CHOLMOD is provided by the Matrix package via RcppEigen. What's the
> | clean way of handling that? Thanks for your input!
> I know "some" (eg rstan) have completemented the BH package with local
> headers when BH was missing what they needed (as BH grew, I think we by now
> added all they need). So you could just do that, being careful to stick with
> the same version.
> Or would Yixuan's RSpectra help? https://cran.r-project.org/package=RSpectra
More information about the Rcpp-devel