Re: [igraph] Shortest Paths of Weighted networks in Pajek format

2012-12-07 Thread Charles Novaes de Santana
Oh... sorry! I forgot it! As usual, thank you very much for your help! Best, Charles On Fri, Dec 7, 2012 at 3:45 PM, Gábor Csárdi wrote: > igraph_i_set_attribute_table(&igraph_cattribute_table); -- Um axé! :) -- Charles Novaes de Santana http://www.imedea.uib-csic.es/~charles PhD student -

Re: [igraph] reading edgelist with weight

2012-12-07 Thread Gábor Csárdi
On Fri, Dec 7, 2012 at 4:43 AM, Ross KK Leung wrote: > Since the data contain patient information so I have spent a day to dig > out the problem. It turns out that some of my rows contain character "; " > and after removing the problematic record, igraph works perfectly and I > really appreciate

Re: [igraph] Shortest Paths of Weighted networks in Pajek format

2012-12-07 Thread Gábor Csárdi
You need to turn on the attribute handler before reading the file, because the C attribute handler is turned off by default: igraph_i_set_attribute_table(&igraph_cattribute_table); See http://igraph.sourceforge.net/doc/html/ch12s02.html. Gabor On Thu, Dec 6, 2012 at 11:22 PM, Charles Novaes de

Re: [igraph] reading edgelist with weight

2012-12-07 Thread Ross KK Leung
Please send us the first few lines of your input file as an attachment because it's hard to say anything about what is wrong without seeing the file. -- T. > Since the data contain patient information so I have spent a day to dig out the problem. It turns out that some of my rows contain characte