Comment 1 for bug 1123003

Revision history for this message
Gaf (gafgaf) wrote :

doing this causes the following error:

> pr <- page.rank(g, myoptions)
Fehler in page.rank(g, myoptions) :
  At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex id
Zusätzlich: Warnmeldungen:
1: In as.igraph.vs(graph, vids) : NAs durch Umwandlung erzeugt
2: In as.igraph.vs(graph, vids) : NAs durch Umwandlung erzeugt

This error can be solves by adding vids:
> pr <- page.rank(g, vids=V(g), myoptions)

this causes then no errors, but the options$maxiter parameter is not set to 1 as i did with myoptions$maxiter:
> pr$options$maxiter
[1] 3000

:(