igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] problems with import of Pajek .net file


From: Martin Tomko
Subject: Re: [igraph] problems with import of Pajek .net file
Date: Wed, 11 Aug 2010 14:35:43 +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

Grrr, I have no idea what is the problem either...
Will test and elaborate...
Martin

On 8/11/2010 2:14 PM, Gábor Csárdi wrote:
Works fine on OSX as well, igraph 0.5.4, R 2.11.1.

FYI,
Gabor

On Wed, Aug 11, 2010 at 2:07 PM, Tamas Nepusz<address@hidden>  wrote:
Hi again,

It works for me in igraph 0.5.3 as well (R 2.11.0, igraph 0.5.3, Linux).

--
Tamas

On Wed, Aug 11, 2010 at 12:20:23PM +0200, Martin Tomko wrote:
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-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help





--
Martin Tomko
Postdoctoral Research Assistant

Geographic Information Systems Division
Department of Geography
University of Zurich - Irchel
Winterthurerstr. 190
CH-8057 Zurich, Switzerland

email:  address@hidden
site:   http://www.geo.uzh.ch/~mtomko
mob:    +41-788 629 558
tel:    +41-44-6355256
fax:    +41-44-6356848




reply via email to

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