setting options parameter in page.rank causes arpack error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
New
|
Undecided
|
Unassigned |
Bug Description
i tried to manipulate the options parameter, to change the options$maxiter property of pagerank, but i get error when i try to manipulate or even set another options list as parameter, for example to set options$maxiter 10, not to 3000 as it is in standard, which causes long time to calculate when using huge data amount (130*10^6 edges, 18*10^6 vertices)?
i tried the following which causes error:
...
> myoptions <- igraph.
> myoptions$maxiter <- 1
> pr <- page.rank(g, options=myoptions)
Fehler in page.rank(g, options = myoptions) :
At arpack.c:1126 : ARPACK error, The Schur form computed by LAPACK routine dlahqr could not be reordered by LAPACK routine dtrsen.
I also tried to set my own arpack(…) with functions and the other parameters which are needed, but that also results with an error…
best regards
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
:(