Hi All, After a lengthy battle just to get the package installed, I am not able to actually use Rgraphviz to generate any plots. I tried just using the sample code in the documentation (http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/r/rgraphviz/) and I get the following:
*> > library(Rgraphviz) > test.matrix<-matrix(rep(c(0,1,0,0), 9), ncol=6, nrow=6) > rownames(test.matrix)<-c("a", "b", "c", "d", "e", "f") > colnames(test.matrix)<-c("a", "b", "c", "d", "e", "f") > test.matrix a b c d e f a 0 0 0 0 0 0 b 1 0 1 0 1 0 c 0 0 0 0 0 0 d 0 1 0 1 0 1 e 0 0 0 0 0 0 f 1 0 1 0 1 0 > am.graph<-new("graphAM", adjMat=test.matrix, edgemode="directed") > am.graph A graphAM graph with directed edges Number of Nodes = 6 Number of Edges = 9 > plot(am.graph, attrs = list(node = list(fillcolor = "lightblue"), + edge = list(arrowsize=0.5))) There were 18 warnings (use warnings() to see them) > warnings() Warning messages: 1: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 2: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 3: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 4: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 5: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 6: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 7: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 8: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 9: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 10: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 11: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 12: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 13: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 14: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 15: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 16: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter 17: In plot.xy(xy.coords(x, y), type = type, ...) : "len" is not a graphical parameter 18: In plot.xy(xy.coords(x, y), type = type, ...) : "edgemode" is not a graphical parameter* Anyone with the same problem? Any ideas on how to fix? Thanks, Jess -- View this message in context: http://r.789695.n4.nabble.com/Plotting-with-Rgraphviz-tp4632274.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.