[R-SIG-Mac] Different performance with different R versions

Cowan, R (MERIT) r@cow@n @ending from m@@@trichtuniver@ity@nl
Fri Dec 14 18:03:11 CET 2018

A final comment in case others run across this issue.

Inserting the statement

igraph_options(return.vs.es<http://return.vs.es> = FALSE)

after loading the igraph library returns execution speeds to “normal”. But beware, the igraph developers describe this move as “dangerous”. So use at your own risk (and I have no idea what the risks are).

On 14 Dec 2018, at 15:26, Ista Zahn <istazahn using gmail.com<mailto:istazahn using gmail.com>> wrote:

The igraph slowdown is known, and discussed in several places, including


On Fri, Dec 14, 2018 at 6:41 AM Martin Maechler
<maechler using stat.math.ethz.ch> wrote:

Ista Zahn
   on Fri, 14 Dec 2018 05:58:25 -0500 writes:

This isn't Mac specific (I can reproduce it in Linux). Switching the
igraph from version from 1.2.2 (slow) to 0.7.1 (fast) is enough, so
this also has nothing to do with R itself. This should be reported to
https://igraph.org/r/, either on the mailing list, bug tracker, or


Indeed (on Linux, too)

A much shorter (and 5x faster running) version of the repr.ex.
R script is appended (it uses specific .libPaths() to get the
 correct version if igraph).


	[[alternative HTML version deleted]]

More information about the R-SIG-Mac mailing list