read.graph function is able to read graphs in
various representations from a file, or from a http
connection. Currently some simple formats are supported.read.graph(file, format = "edgelist", ...)http or ftp URI.edgelist, ncol and lgl are supported, the
default is edgelist.read.graph function may have additional arguments depending
on the file format (the format argument).
The resulting graph is always undirected. LGL cannot deal with files which contain multiple or loop edges, this is however not checked here, as igraph is happy with these.
Additional arguments:
lgl format is used by the Large Graph Layout
visualization software
(write.graph