[Top][All Lists]

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

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

From: Tamas Nepusz
Subject: Re: [igraph] R igraph: get.shortest.paths returns error
Date: Wed, 08 Aug 2012 08:43:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

Dear Tobias,

> 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"
I have tried this now on a random graph with random start and end nodes and
it seemed to work for me, so can you please let us know what is there in the
"startnode" and "tonodes" variables? Are they simple R vectors?


reply via email to

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