Sam Steingold
2012-Mar-20 18:20 UTC
[R] igraph: decompose.graph: Error: protect(): protection stack overflow
I just got this error:> library(igraph) > comp <- decompose.graph(gr)Error: protect(): protection stack overflow Error: protect(): protection stack overflow>what can I do? the digraph is, indeed, large (300,000 vertexes), but there are very many very small components (which I would rather not discard). PS. the doc for decompose.graph does not say which mode is the default. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://mideasttruth.com http://camera.org http://iris.org.il http://openvotingconsortium.org http://truepeace.org Beauty is only a light switch away.
Sam Steingold
2012-Mar-20 18:54 UTC
[R] igraph: decompose.graph: Error: protect(): protection stack overflow
> * Sam Steingold <fqf at tah.bet> [2012-03-20 14:20:06 -0400]: > > I just got this error: >> library(igraph) >> comp <- decompose.graph(gr) > Error: protect(): protection stack overflow > Error: protect(): protection stack overflow >>after restarting> system.time(comp <- decompose.graph(gr, mode="weak"))Error: protect(): protection stack overflow Error: protect(): protection stack overflow Error: protect(): protection stack overflow> system.time(comp <- decompose.graph(gr, mode="strong"))*** caught segfault *** address 0xd8, cause 'memory not mapped' Traceback: 1: decompose.graph(sc.gr, mode = "strong") 2: system.time(sc.comp <- decompose.graph(sc.gr, mode = "strong")) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: 3 -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://openvotingconsortium.org http://www.memritv.org http://pmw.org.il http://www.PetitionOnline.com/tap12009/ What's the difference between Apathy & Ignorance? -I don't know and don't care!
Duncan Murdoch
2012-Mar-20 20:17 UTC
[R] igraph: decompose.graph: Error: protect(): protection stack overflow
On 12-03-20 2:20 PM, Sam Steingold wrote:> I just got this error: >> library(igraph) >> comp<- decompose.graph(gr) > Error: protect(): protection stack overflow > Error: protect(): protection stack overflow >> > > what can I do? > the digraph is, indeed, large (300,000 vertexes), but there are very > many very small components (which I would rather not discard). > > PS. the doc for decompose.graph does not say which mode is the default. >If you don't get useful help here, you should contact the maintainer of the package, who may not be reading your question. The maintainer is listed if you run library(help=igraph) Duncan Murdoch