igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Parse error in Pajek format


From: Gábor Csárdi
Subject: Re: [igraph] Parse error in Pajek format
Date: Wed, 17 Nov 2010 17:19:10 +0100

Dear Fabio,

the problem is that there is no definition at all for the Pajek file
format. (As far as I know.)
Plus there is no source code for Pajek either, that we could use to
see what formats Pajek accepts.

So far I have never seen Pajek files with a number after *Arcs, but if
you say this is legal, then we can easily support it, of course. I'll
add this to the development version, in a minute.

Thanks for your report! Best,
Gabor

On Wed, Nov 17, 2010 at 5:13 PM, Fabio Daolio <address@hidden> wrote:
> Dear all,
>
> I'm using igraph 0.5.5 together with R 2.12.0
> I noticed that read.graph() on a .net file fails with a parse error
> whenever the file contains a line like
>
> *Arc <x>
>
> where <x> should be the number of edges, I guess.
> Removing that number seems to solve the problem, even if the
> original .net was a legal Pajek file... (attached)
> Could it be an issue with the parsing in igraph? I know you
> support just a subset of that file format, anyway I wanted to
> tell everybody in case someone else might find it useful.
>
> Thanks once again for your good work!
> --
> Fabio Daolio
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

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