R version 2.12.0 (2010-10-15) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > par20 = '' > par19 = '' > par18 = '' > par17 = '' > par16 = '' > par15 = '' > par14 = '' > par13 = '' > par12 = '' > par11 = '' > par10 = '' > par9 = '' > par8 = '' > par7 = '' > par6 = '' > par5 = 'COLLES actuals' > par4 = 'all' > par3 = '1' > par2 = '2' > par1 = '3' > main = '***TITLE TOO LONG***' > par1 <- as.numeric(par1) > par2 <- as.numeric(par2) > par3 <- as.numeric(par3) > library(igraph) > ps.options(family='serif') > df <- read.table(file='http://www.wessa.net/download/dataframe.txt',sep=',',header=F) > v <- read.table(file='http://www.wessa.net/download/vertices.txt',sep=',',header=F) > g <- graph.data.frame(df, directed=T, vertices=v) > myvcount = vcount(g) > myarea = myvcount^par1 > myradius = myvcount * myarea > V(g)$size=1 > l <- layout.fruchterman.reingold(g,dim=par2,params=list(niter=5000, area=myarea, repulserad=myradius)) > postscript(file="/var/www/rcomp/tmp/1mex81337268424.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(g, axes=F, xlab='', ylab='', layout=l, vertex.size=V(g)$size, vertex.label.cex=par3, vertex.label.dist=0.5, edge.arrow.size=0.2, vertex.label=V(g)$age, main = main) > dev.off() null device 1 > > try(system("convert tmp/1mex81337268424.ps tmp/1mex81337268424.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.590 0.270 2.212