[Top][All Lists]

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

Re: [igraph] Error message when loading a large network

From: Vincent Labatut
Subject: Re: [igraph] Error message when loading a large network
Date: Thu, 12 Jul 2012 12:35:21 +0200

by the way,  in the file the links are not following any order. i mean: the link 0->1 possibly appears after the link 1234->5678. 
i had checked on a small test file, it didn't seem to be a problem.

On Thu, Jul 12, 2012 at 10:46 AM, Tamás Nepusz <address@hidden> wrote:
> because the problem seems related to the way igraph processes the data internally, i'm not sure about what to do.
> it seems reasonable to think I should reduce the size of the network, but how much?

Let's clarify the issue first. Are you using read.graph(filename, format="edgelist") or something else? How does your file look like? Is it only two columns with some numbers? Are your vertex indices (i.e. the numbers) continuous from 0 to N-1, where N is the number of vertices in the graph? If not, have you tried using read.graph(filename, format="ncol") instead? ncol is basically a symbolic edge list where vertices are assigned IDs from 0 to N-1 in the order of appearance and the numbers in the file (that are used to identify the vertices) are stored in the "name" vertex attribute.


reply via email to

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