[Lemon-user] Integrating LGL with R via Rcpp
Juan Ignacio Perotti
juanpool at gmail.com
Fri Feb 11 23:51:42 CET 2011
Hi, everybody.
I'm just new on this. Few months before I had started to learn R (
http://www.r-project.org/). R is nice, but it may be slow.
I'm a physicist and normally I do high performance computations. Eventually
I get to know that one can integrate C++ code
into R. As I normally work in complex networks, I was looking for C++
libraries developed for that purpose. In fact, igraph is
a package available to R users. So eventually I think to look at the C
implementation of it. But I found the C igraph library
a bit "dirty" to deal with. Eventually I also found the Boost Graph Library,
but I read about it that it has a step learning curve.
Then I found LGL (Lemon Graph Library). It looks pretty nice to work with,
and it seems "transparent" so one can understand
it easily. Also it seems that can deal with hard computations. So, I decide
to try the integration of R with LGL using a R
package called Rcpp (which is also awesome!!!). So after a while I had
success on it. More precisely, I just got working
a very small and simple program that integrates LGL via Rcpp into R.
I wrote the details of this in my blog. So I want to share it with the LGL
community.
http://deliriosderayohauno.blogspot.com/2011/02/lemon-graph-library-lgl-instalation.html
http://deliriosderayohauno.blogspot.com/2011/02/r-learning-building-r-packages-that_468.html
Maybe, some others are walking on the same road. Let my know about that.
Best Regards
--
Lic. Juan I. Perotti
Instituto de Física Enrique Gaviola (IFEG).
Facultad de Matemática Astronomía y Física (FaMAF).
Universidad Nacional de Córdoba (UNC).
Medina Allende y Haya de la Torre s/n
Ciudad Universitaria - X5000HUA
Oficina 233
Te: +54-351-4334051 (int. 233)
Fax: +54-351-4334054
home page: http://www.famaf.unc.edu.ar/~perotti/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110211/ae69343d/attachment.html>
More information about the Lemon-user
mailing list