Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error in (function (..., deparse.level = 1) : node stack overflow #21
I'm trying to set up a problem with a very large number of features (4775) in a raster stack. There are about 13400 occupied planning units.
The same problem has worked fine using
It's hard to debug without the data. I can zip it and place it online for download if one of the devs wants to have a look.
Or alternatively, do you know the maximum dimensions (eg features, PU or their product) which the function can handle?
Thanks for posting this! Sorry for the lack of communication, I've been really busy trying to finish my thesis. I really appreciate you and @ricschuster posting bug reports here. I probably won't have time to get to this for a while, but could you run
I've just sent you a link to the data privately - sorry I couldn't do that via github.
But I can confirm that the issue relates to the size of the data / problem, because while running for all 4777 conservation features leads to this error, it ran successfully for a subset with 239 conservation features, and a correspondingly smaller number of branches and occupied planning units.
@jeffreyhanson traceback() didn't return any useful output. I will investigate further...
I just had a quick google to see if I could find anything. It looks like using
One of the suggestions in that link is to replace
and see if that fixes it?
@ricschuster kindly pointed out that the problem can be set up directly from tabular data, rather than first converting it to raster. And the version from tabular data works perfectly.
So although there is a size limitation on the raster format - perhaps for the reason @jeffreyhanson noted above, the tabular option works great for my dataset.