Dear All Suddenly im finding a silly error in igraph *g <- graph( c(0,1, 1,2, 3,4, 5,6) )*
Error in graph(c(0, 1, 1, 2, 3, 4, 5, 6)) : At structure_generators.c:84 : Invalid (negative) vertex id, Invalid vertex id but if i put g <- graph( c(1,2, 3,4, 5,6) ) > g IGRAPH D--- 6 3 -- doesnot give any error so far i know the vertices in igraph starts from 0. I am using R version 2.15.3 and i graph version 0.6.5-2 Regards, Partha Sarathi Das RA, Bioinformatics Infrastructure Facility, Vidyasagar University, Midnapore, India Mobile : +91 98 31 32 32 32 On Wed, Jul 3, 2013 at 12:25 AM, Baptiste Coulmont <[email protected]>wrote: > pdf("plot.pdf") is indeed much faster : 0.158 seconds. > My problem wasn't linked to igraph, but to quartz() > > Thanks > B. Coulmont > > . . > Baptiste Coulmont > [email protected] > -------- > ------------------------------ > *From:* Gábor Csárdi <[email protected]> > *To:* Baptiste Coulmont <[email protected]>; Help for igraph users < > [email protected]> > *Sent:* Tuesday, July 2, 2013 3:12 PM > *Subject:* Re: [igraph] slow plotting (igraph 0.6.5-2, MacOS) > > Hi, > > are you sure, this is igraph? > > Can you try 1) plotting to a PDF device instead of quartz() or x11() which > take a long time to start, and also 2) plotting something else instead of > an igraph graph, of comparable size, e.g. 100 circles and 100 segments? > > Thanks, > Gabor > > > On Tue, Jul 2, 2013 at 8:33 AM, Baptiste Coulmont <[email protected]>wrote: > > Hi > > As with > http://lists.nongnu.org/archive/html/igraph-help/2013-02/msg00118.html > I see that plot.igraph is much slower now than before > It seems that only MacOS is affected (plotting is much faster on Windows) > > I need 18 seconds with the code below [R 3.0.1, MacOS 10.8.4, 2011 MacAir] > library(igraph) > r=erdos.renyi.game(100,p=0.1) > system.time(plot.igraph(r,layout=layout.circle)) > > Best regards, > B. Coulmont > . . > Baptiste Coulmont > [email protected] > -------- > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > > > > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
