Hello,
I'm trying to use fishplot package on R, but I failed when attempted to create the fish object (createFishObject), I got this message error :
Erreur : C stack usage 7970384 is too close to the limit
Let's say that this is my matrix (fish.matrix) :
Day0 Day150 Day750
65 0 70
45 0 0
5 0 30
0 0 30
And these are my variables to create the fish object:
fish.parents = c(1,0,1,0)
fish.timepoints = c(0,150,750)
I failed when I try to create the fish object :
fish.obj = createFishObject(frac.table = fish.matrix, parents = fish.parents, timepoints = timepoints)
For this reason:
Erreur : C stack usage 7970384 is too close to the limit
Does someone know how to solve this problem please? (It works with the doc's example, but I if I change any value in the matrix or parents option I got the same error)
Thanks, Yasmine
Looks like a memory error to me. You're running out. Reduce your memory usage, find a machine with more you can use, or add more to your machine. Though looking at the package, it seems pretty simple and I can't imagine how it would be using that much memory unless you're running into a silent bug or throwing it a really weird case it doesn't know how to handle.
Also, there was no need to post this with the 'forum' tag, it's just a basic question. A mod will likely fix it once they come along.
I'd prefer OP themselves fix it, as it's a learning opportunity.
Thank you. I have a matrix with only 3 columns and 4 rows, I don't think that it's a memory problem since when I run the example given by the documentation, it works well. I think it can be related to "parents" option that I don't well understand, because when I change this option in the doc's example, I have the same error ...
This is a question, not a forum discussion. Please read the document on Post Types. Please edit your question and change it to a Question. Here's the how-to on editing a post.
OP, could you also add a few more relevant tags? I think
fishplot
is a relevant tag, you could add a few more. You'll need to edit your question to add the tags.