-
-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R: cannot call igraph function in callbacks #571
Comments
I guess there is not much we can do at this point, but 1) document that this is not allowed and 2) check the finally stack at the beginning of each call from R, and if it is not empty, then quit with an error. |
Since we don't have a hook that is called each time an R->C call happens, maybe a possible solution is to redefine |
Redefining
And this is even without the extra
|
OK, redefined .Call for now, until there will be a better solution. |
is it fixed? I got segmentation faults in simple scripts:
Remove if not related to this issue |
Most likely it is fixed; the latest R interface of igraph is version 1.1.2, released 2017-07-21, which is several years later than the date of the above commit. Please file a separate bug report for your issue in https://github.com/igraph/rigraph/issues |
Thank you for the response. |
BEcause it frees all memory allocated by igraph.
The text was updated successfully, but these errors were encountered: