-
Notifications
You must be signed in to change notification settings - Fork 77
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
reticulate segfaults with renv projects on M3 Mac #491
Comments
I cannot reproduce the crash on my macOS. Does it crash without renv? It could be possible that the version of python that you are using is not compatible with the R that you are using. For example, they may be linked to different C runtime. |
Regrading to the BLAS library thing (note: I have the same issue, it is not relevant to your crash). It seems that python on macOS has silently import the Accelerate.framework
I am still trying to find a valid solution for it. Setting
|
If I attempt to load a package with compiled code inside a renv project from reticulate, then I get a segmentation fault. I get no segmentation fault with the distributed version of R. I don't know if this is on the radian side or the https://github.com/r-lib/rig side. Any help is appreciated.
EDIT, I decided to compare the outputs of
renv::diagnostics()
for both and I found that there's a different BLAS library used from radian, but that's also in normal radian operation, so I'm not sure what the difference is.Steps to reproduce
Create a directory with a single file that loads the rlang package and initialize the renv project (this works with both radian and regular R).
After that, run radian and try to load rlang:
In base R, it's fine:
The text was updated successfully, but these errors were encountered: