On Sun, Jun 24, 2012 at 1:19 PM, Dirk Eddelbuettel <[email protected]> wrote: > > On 24 June 2012 at 19:56, Glenn Lawyer wrote: > | I would suggest using the eigen library, Rccp has an interface to this. > | Alternately, you could link to the boost graph library. > > Spot on. > > It was in fact the availability of (more) sparse matrix methods (even though > they were (are ?) under development and not fully mature) that lead Doug from > Armadillo to Eigen. I am sure he will follow-up here too.
Indeed. There is good support for sparse matrices in Eigen including the use of the Cholmod functions from the Matrix package, although the latter requires a bit of effort. With the release of Eigen 3.1 today, sparse matrices are now a supported part of Eigen. I have not yet incorporated Eigen 3.1 into RcppEigen but will do so. > Boost Graph is interesting as CRAN had the RBGL package to access it for such > a long time. It would be nice if someone looked more closely if we can in > fact add appropriate as<>() and wrap() methods/functions to make interfacing > this library more easy / more accessible from R. > > Dirk > > -- > Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com > _______________________________________________ > Rcpp-devel mailing list > [email protected] > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
