igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] R igraph: get.shortest.paths returns error


From: Tobias Heckmann
Subject: [igraph] R igraph: get.shortest.paths returns error
Date: Wed, 08 Aug 2012 00:06:09 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0

Hi all,

I am working with a large directed graph and I'm looking for geodesics between a selected vertex (startnode) and the most distant vertices of its out-neighborhood (tonodes).
Until today, the following command worked well:

paths<-get.shortest.paths(graph,from=startnode,to=tonodes,mode="out",weights=NA,output="epath")

Today, I installed R on a 64bit machine and tried running my script again.
This time, the command returned the following error:

"At structural_properties.c:659 : Size of the `vertices' and the `to' should match, Invalid value"

This error does not appear when I leave out the "output=" argument, but I need the edge sequences, not the vertex sequences...

Does anyone know this kind of error ? Have I done something wrong ? Could this be a bug ?

Thanks a lot for your help !
Cheers
Tobias

Physical Geography
Cath. University Eichstaett/Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]