Closed schlichtanders closed 10 months ago
This is quite similar to your other issue https://github.com/JuliaInterop/RCall.jl/issues/513 . Please see my comments there.
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
ENV["R_HOME"]="_"
is the magic invocation
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.