[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Use igraph in Rcpp code
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Use igraph in Rcpp code |
Date: |
Tue, 23 May 2017 04:23:43 +0100 |
Hi,
so you want to call igraph functions from C? THen I think you probably
need to link to the igraph C library, which can be installed
separately from the R package.
I have never tried it, so I am not sure if it works well, but I don't
see why not.
Gabor
On Mon, May 22, 2017 at 10:06 PM, Perrone, Alexander G.
<address@hidden> wrote:
> In writing a package, what's the proper way to include igraph? I'd like to
> use Rcpp to perform computations, but also need to call igraph functions. Do
> you perhaps have an example of a Makevars file that ensures the igraph
> source is found on the machine when the Rcpp code is compiled?
>
>
> Alex
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>