[Top][All Lists]

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

Re: [igraph] Re: write.graph, read.graph doubt

From: uxzmdlj02
Subject: Re: [igraph] Re: write.graph, read.graph doubt
Date: Thu, 9 Jul 2009 15:23:48 -0500

Even easier:
1) from excel export to csv, setting " " (space) as the seperating character
2) read.graph("file.csv", format="edgelist")

On Jul 9, 2009, at 12:49 PM, Laurence Muller laurence.muller-at- ......... |igraph-help| wrote:

Hi Guna,

unfortunately igraph does not support graphs from Excel directly.

I think you have 2 options on how to deal with this:

1. Export the Excel data to a plain text file, write a converter
(plaintext to GML or GraphML) and use the GML or GraphML reader from
igraph to load your graph into the memory (
http://igraph.sourceforge.net/doc/html/igraph-Foreign.html ).

2. Another approach would be: Export the Excel data to a plain text
file, and write your own parser to load the graph into the memory.

Kind regards,
- Laurence

On Jul 9, 7:07 pm, guna sekaran <address@hidden> wrote:
Dear Friends,
clarify my doubts in igraph package.
How to import and export Graphs for and from EXCEL sheet?
Give the details with an example.
write.graph and read.graph commands are not properly working in windows environment.
How to use those commands? Give the parameters lists in details.

thanks in advance


igraph-help mailing list

igraph-help mailing list

reply via email to

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