[Lemon-user] Integrating LGL with R via Rcpp

Alpár Jüttner alpar at cs.elte.hu
Mon Feb 14 11:45:34 CET 2011


Hi Juan,

Thanks for sharing your experience. I am not familiar with R, but went
trough your blogpost and I found it really exciting.

At the end of your post (and at http://stackoverflow.com/) you have a
question about using LEMON without installing it. Is it a general issue
using Rcpp, or something LEMON specific?

In general, LEMON headers must be included like
#include<lemon/dijkstra.h>, indeed, but this shouldn't cause any problem
for you - simply create a lemon subdirectory within your include dir and
put the lemon headers there.

Regards,
Alpár

P.S. It was nice to find other happy users following the links in your
post.



On Fri, 2011-02-11 at 19:51 -0300, Juan Ignacio Perotti wrote:
> 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/
> 
> 
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user





More information about the Lemon-user mailing list