> g <- erad.graph("file", format="ncol", directed=TRUE, weight=TRUE)
> l <- get.shortest.paths(g, 0, to=V(g), mode=c("out"))
> E(g, path=l[2])$weight
> (list) object can't be coerced to type 'double' # the errorUse E(g, path=l[[2]]) Note the double square brackets. -- T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
