Discussion:
[igraph] R igraph is comiled?
M. Okuda
2018-02-02 08:58:54 UTC
Permalink
Dear Sirs/Madams,

I use R igraph, especially the "cluster_spinglass" and "cluster_infomap"
functions.
Are these functions compiled or just R scripts?
To compare the processing speed of these methods with the compiled other
clustering methods,
I would like to know what condition R igraph works on.

Truly yours,

M. Okuda
Gábor Csárdi
2018-02-02 16:48:27 UTC
Permalink
Most of igraph is indeed implemented in C code, including the
functions you are after.

Gabor
Post by M. Okuda
Dear Sirs/Madams,
I use R igraph, especially the "cluster_spinglass" and "cluster_infomap"
functions.
Are these functions compiled or just R scripts?
To compare the processing speed of these methods with the compiled other
clustering methods,
I would like to know what condition R igraph works on.
Truly yours,
M. Okuda
_______________________________________________
igraph-help mailing list
https://lists.nongnu.org/mailman/listinfo/igraph-help
Szabolcs Horvát
2018-02-02 16:32:45 UTC
Permalink
These clustering methods are implemented in C. If you are in doubt about a
function, you can check the igraph/C documentation, and see if it is
present there.

http://igraph.org/c/doc/igraph-Community.html#idm470927718656
http://igraph.org/c/doc/igraph-Community.html#idm470920331024

igraph is a C library with interfaces in several higher level languages
(official ones in R and Python, and some other unofficial ones, such as the
one for Mathematica). Most of the functionality you can access through the
official interfaces is implemented in C.
Post by M. Okuda
Dear Sirs/Madams,
I use R igraph, especially the "cluster_spinglass" and "cluster_infomap"
functions.
Are these functions compiled or just R scripts?
To compare the processing speed of these methods with the compiled other
clustering methods,
I would like to know what condition R igraph works on.
Truly yours,
M. Okuda
_______________________________________________
igraph-help mailing list
https://lists.nongnu.org/mailman/listinfo/igraph-help
M. Okuda
2018-02-05 01:37:10 UTC
Permalink
Dear Mr. Csardi and Mr. Horvat,



Thank you for sending me the important information.

I really appreciate your prompt reply.



Truly yours,



Makoto Okuda





From: igraph-help [mailto:igraph-help-bounces+m-okuda=***@nongnu.org] On Behalf Of Szabolcs Horvat
Sent: Saturday, February 3, 2018 1:33 AM
To: Help for igraph users <igraph-***@nongnu.org>
Subject: Re: [igraph] R igraph is comiled?



These clustering methods are implemented in C. If you are in doubt about a function, you can check the igraph/C documentation, and see if it is present there.



http://igraph.org/c/doc/igraph-Community.html#idm470927718656

http://igraph.org/c/doc/igraph-Community.html#idm470920331024



igraph is a C library with interfaces in several higher level languages (official ones in R and Python, and some other unofficial ones, such as the one for Mathematica). Most of the functionality you can access through the official interfaces is implemented in C.



On 2 February 2018 at 09:58, M. Okuda <m-***@nict.go.jp <mailto:m-***@nict.go.jp> > wrote:

Dear Sirs/Madams,

I use R igraph, especially the "cluster_spinglass" and "cluster_infomap"
functions.
Are these functions compiled or just R scripts?
To compare the processing speed of these methods with the compiled other
clustering methods,
I would like to know what condition R igraph works on.

Truly yours,

M. Okuda

Loading...