[R] graph from txt file

Peter Ehlers ehlers at ucalgary.ca
Fri Jun 29 19:44:54 CEST 2012


On 2012-06-29 10:28, HIMANSHU MITTAL wrote:
> Hi all,
> I have a text file in which the graph info is stored as:
> node1 node2 attr1 attr2
> where there is an edge b/w node1&2 and attr1&2 are edge atttributes
>
>   is there any way to create a graph using such format in r?

The igraph package?

Peter Ehlers

>
> Regards,
> Himanshu Mittal
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list