Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- GitHub Community Forum
- :
- Conversations
- :
- Programming Help and Discussion
- :
- R: Using “Rgraphviz”, how do I correct: “Error: C ...

Options

- Subscribe to RSS feed
- Mark all as new
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer friendly page

Copilot Lvl 2

3 weeks ago

- Mark as new
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Message 1 of 1

R: Using “Rgraphviz”, how do I correct: “Error: C stack usage 15924144 is too close to the limit”

I am attempting to do an analysis of a three-way contingency table, and create a graphical representation of a model, showing nodes and edges, as depicted in the picture at the bottom.

The problems stems from a paper on Graphical Models, by David Edwards (2011)

R produce the error: "Error: C stack usage 15924320 is too close to the limit"

I've tried updating the packages and running R as administrator.

library("gRbase")

library("gRim")

library("Rgraphviz")

liz.sat <- dmod(~.^., data = lizard)

liz.1 <- backward(liz.sat, details = 3, step = 1)

liz.1

liz.2 <- backward(liz.1, details = 3, step = 1)

liz.2

plot(liz.2, "neato", sep=0.1 )

plot(liz.2, "neato", sep=0.1 ) Error: C stack usage 15924320 is too close to the limit

plot(liz.2, "neato")

I hope someone has a neat solution to the problem.

Thanks

It seems the problem is well known. A guide has been made containing possible solutions to how to solve the problem, however not being skilled enough I will appreciate if someone can make it clearer how to perform the steps in the solution. https://www.graphviz.org/pdf/neatoguide.pdf

New solutions