Dear Dirk,

Thanks for your answer. 

I know that inline does most of the work for me when working in the sandbox so 
to speak. I also know that I can create a package which forces SHLIB to do the 
right thing (guess the LinkingTo statement in the DESCRIPTION file is crucial 
here). But for creating code which can go into a package it is nice to be able 
to compile and test without having to compile the package over and over again. 

Regards
Søren


-----Original Message-----
From: Dirk Eddelbuettel [mailto:[email protected]] 
Sent: 24. juni 2012 20:19
To: Glenn Lawyer
Cc: Søren Højsgaard; [email protected]
Subject: Re: [Rcpp-devel] Using sparse matrices from the Matrix package in Rcpp


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.

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

Reply via email to