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

Automatic installation of R fails #336

Closed
mbauman opened this issue Aug 30, 2019 · 3 comments
Closed

Automatic installation of R fails #336

mbauman opened this issue Aug 30, 2019 · 3 comments

Comments

@mbauman
Copy link

mbauman commented Aug 30, 2019

I'm not sure if this is a docs bug or an actual bug, but according to the docs things should just work with R_HOME either unset or set to "". That's not the case for me:

julia> ENV["R_HOME"]
ERROR: KeyError: key "R_HOME" not found

(r-interop) pkg> add RCall
...
  Building Conda → `~/.julia/packages/Conda/kLXeC/deps/build.log`
  Building RCall → `~/.julia/packages/RCall/g7dhB/deps/build.log`
┌ Error: Error building `RCall`:
│ ERROR: LoadError: R_HOME is not a directory.
...

julia> ENV["R_HOME"] = ""
""

(r-interop) pkg> build RCall
  Building Conda → `~/.julia/packages/Conda/kLXeC/deps/build.log`
  Building RCall → `~/.julia/packages/RCall/g7dhB/deps/build.log`
┌ Error: Error building `RCall`:
│ ERROR: LoadError: R_HOME is not a directory.
...

It finally works with the R_HOME set to "*".

I know there are a lot of install issues open, but I didn't see anything along these lines. I'm using Julia 1.2 on macOS 10.14.

@simonbyrne
Copy link
Member

There is some work on this in #311

@simonbyrne
Copy link
Member

I don't really have time to do this any more, so if anyone else is interested in taking on maintenance, I would be grateful.

@palday
Copy link
Collaborator

palday commented Jul 16, 2024

I think this is stale/solved by now, but if not, please feel free to open a new issue.

@palday palday closed this as completed Jul 16, 2024
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