With igraph, do read.graph(filename, format="ncol", directed=TRUE)
I just noticed that the 'directed' option is not documented, sorry about that, Gabor ps. please give a proper subject to your emails... On Thu, Nov 27, 2008 at 9:54 AM, Weijia You <[EMAIL PROTECTED]> wrote: > Hi friends, > > Is there anyone who happened to import data set in the "DL" format into R > for further analysis? > > In the package of "network", there's only a method named "read.paj()". > So now, I have to get the dl file from the original data set, and use UCINET > to convert it to .net file. It's too complicated. > :( > > In the package of "igraph", edgelist is one the format which can be > imported, however, weight can not be expressed. As for the format "ncol", > weight is considered, but it's always undirected. > > Thank you for comments and suggestions! > > Best! > > Weijia > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Gabor Csardi <[EMAIL PROTECTED]> UNIL DGM ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.