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

RCall installation failing with ENV = "*" #482

Open
MaxMenzies opened this issue Mar 13, 2023 · 1 comment
Open

RCall installation failing with ENV = "*" #482

MaxMenzies opened this issue Mar 13, 2023 · 1 comment

Comments

@MaxMenzies
Copy link

I'm following the instructions, ENV["R_Home"]="*" then using Pkg and Pkg.build("RCall") and getting the following error:

"ERROR: Error building RCall:
Warning: 'r' already in 'channels' list, moving to the top
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

All requested packages already installed.

[ Info: Installing R via Conda. To use a different R installation, set the "R_HOME" environment variable and re-run Pkg.build("RCall").
[ Info: Running conda config --add channels r --file 'C:\Users\annoy\.julia\conda\3\x86_64\condarc-julia.yml' --force in root environment
[ Info: Running conda install -y 'r-base>=3.4.0,<4' in root environment
ERROR: LoadError: Could not find library C:\Users\annoy.julia\conda\3\x86_64\Library\bin\R\bin\x64\R.dll. Make sure that R shared library exists.
Stacktrace:"

image

@frankier
Copy link
Contributor

I'm not sure what happened there since there seem to be two levels of bin in your R_HOME

There have been some changes to this in the newest version. Perhaps you could try again with new versions of Julia and RCall.jl and close this if it's no longer a problem?

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

2 participants