|
From: | Claudia Muller-Birn |
Subject: | Re: [igraph] Error in read.graph.edgelist |
Date: | Thu, 5 Aug 2010 23:38:12 -0400 |
Hi Dave, Well, it might be that I had the same problem. Did you check your file path? Try the complete path starting from /Users/USERNAME/Documents/... This is especially important if you call R from outside the environment (which was my case). Another solution was proposed on this list a little bit ago. What kind of edge list format do you use? You can import your data by using the following commands as well: el <- matrix(scan(path), byrow=TRUE, ncol=3) \\ as you can see, I used the ncol format that has the format "node node weight" g <- graph.data.frame(as.data.frame(el)) Hope this helps! Claudia On Aug 5, 2010, at 10:56 PM, David Huffaker wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |