read.graph()
was renamed to read_graph()
to create a more
consistent API.
Usage
read.graph(
file,
format = c("edgelist", "pajek", "ncol", "lgl", "graphml", "dimacs", "graphdb", "gml",
"dl"),
...
)
Arguments
- file
The connection to read from. This can be a local file, or a
http
orftp
connection. It can also be a character string with the file name or URI.- format
Character constant giving the file format. Right now
edgelist
,pajek
,ncol
,lgl
,graphml
,dimacs
,graphdb
,gml
anddl
are supported, the default isedgelist
. As of igraph 0.4 this argument is case insensitive.- ...
Additional arguments, see below.