[R] Welcome to the "R-help" mailing list (Digest mode)
csardi.gabor at gmail.com
Thu Nov 27 10:19:53 CET 2008
With igraph, do
read.graph(filename, format="ncol", directed=TRUE)
I just noticed that the 'directed' option is not documented, sorry about that,
ps. please give a proper subject to your emails...
On Thu, Nov 27, 2008 at 9:54 AM, Weijia You <weijiawx at gmail.com> 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!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Gabor Csardi <Gabor.Csardi at unil.ch> UNIL DGM
More information about the R-help