Hi, my problem is that when I use plot command, I can see for few second the graph but the window is closed quickly. The code that I am testing is:
from rpy import r if __name__ == '__main__': r.library('igraph') r('g <- graph( c( 0,1, 0,2, 2,3, 3,2, 4,2, 2,5, 5,2, 1,0, 5,6 ) )') r('E(g)$iFlow <- c(45, 20, 15, 80, 90, 23, 43, 32, 10)') r('V(g)$name <- c("Alice", "Bob", "Claire", "Dennis", "Esther", "Frank", "George")') r('V(g)$label <- V(g)$name') r('plot(g, layout=layout.fruchterman.reingold, vertex.size=3, frame=TRUE)') ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list