[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] problems with import of Pajek .net file
From: |
Martin Tomko |
Subject: |
[igraph] problems with import of Pajek .net file |
Date: |
Wed, 11 Aug 2010 12:20:23 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 |
Hi All,
I am experiencing a problem reading a pjek formatted graph (that I
output from my own conversion script). The graph opens fine in Pajek itself.
I get the following error:
Fehler in read.graph.pajek(file, ...) :
At type_indexededgelist.c:245 : cannot add edges, Invalid vertex id
It is a very simple graph with no fancy attributes, just :
*Vertices 8309
1
2
3
4
5
6
...
*Edges
1 2
1 7044
10 985
100 1901
...
I have output many other .net graphs and ingested them into igraph
without problems before, although from a different procedure and input,
so it must be something with the new input graph data I have, I assume.
I made sure that the number of vertices is correct, they are numbered
from 1, sequentially, and ordered in the output, and I also ordered the
edges. I have no idea what could be the problem.
Is there a way to enable more verbose debug output from igraph in R, so
that I see which vertex number is the problem?
the two graphs are available here, if anyone wants to try...:
http://www.geo.uzh.ch/~mtomko/myoutput.net
http://www.geo.uzh.ch/~mtomko/pajektest.net
Thanks
Martin
- [igraph] problems with import of Pajek .net file,
Martin Tomko <=