Skip to content
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

Is RCall known not to work on M1 Macs? #440

Closed
awellis opened this issue Feb 1, 2022 · 3 comments · Fixed by #441
Closed

Is RCall known not to work on M1 Macs? #440

awellis opened this issue Feb 1, 2022 · 3 comments · Fixed by #441

Comments

@awellis
Copy link

awellis commented Feb 1, 2022

I get this error message on loading RCall:

ERROR: InitError: cfunction: closures are not supported on this platform

Installation was fine on Julia 1.7.1, MacOS 12.1

Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.2.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cyclone)
@simonbyrne
Copy link
Member

This is due to the use of closure @cfunctions. Same issue as #385 and #325.

@awellis
Copy link
Author

awellis commented Feb 3, 2022

What does this mean for RCall on Apple Silicon? Is M1 support on the roadmap?

@simonbyrne
Copy link
Member

The upstream issue in Julia is JuliaLang/julia#27174

Alternatively, it may be possible to switch RCall.jl to use non-closure cfunctions. There isn't a concrete roadmap, but pull requests are always welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants