> ------------------------------------------------
> library(igraph)
> get.pc <- function(file){
> g<-read.graph("file", format="ncol")
[...]
"file" is in quotes above so R is looking for a file named "file", not the file
that you pass in the variable named "file". You probably wanted to type:

g <- read.graph(file, format="ncol")

-- 
T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to