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

Feature Request: Add possibility to build RCall without having R_HOME set #509

Closed
schlichtanders opened this issue Nov 20, 2023 · 3 comments

Comments

@schlichtanders
Copy link

I want to use RCall with CondaPkg, however when instantiating a project with both depenendencies, the RCall tries to build itself and cannot find an existing R, because it will be delivered by CondaPkg (concretely CondaPkg.resolve() installs all conda packages).

This is currently super tricky, because I either need an additional R installation, which takes a lot of docker resources, or somehow need to extract CondaPkg from the Manifest and install it in advance before running the full instantiation.

@frankier
Copy link
Contributor

This is quite similar to your other issue #513 . Please see my comments there.

@schlichtanders
Copy link
Author

I agree, and am surprised myself to have opened two so similar issues.

This is the smaller issue in that it would already help if RCall would build successfully, even though R is not available (assuming that later on it is rebuild correctly).

But my thoughts went further and really would like to have something which needs less recompilation.
Closing this in favor of the other issue

@palday
Copy link
Collaborator

palday commented Jul 16, 2024

ENV["R_HOME"]="_" is the magic invocation

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

No branches or pull requests

3 participants