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

Documentation amendment suggestion #309

Open
francisbarton opened this issue Sep 30, 2021 · 1 comment
Open

Documentation amendment suggestion #309

francisbarton opened this issue Sep 30, 2021 · 1 comment

Comments

@francisbarton
Copy link
Contributor

I am an RStudio user wanting to experiment with using radian (probably within Code).

I installed miniconda3 (python 3.9) on Windows 10, and then installed radian without error. Then when I typed radian at the anaconda prompt, I got:

Traceback (most recent call last):
File "C:\Users\Francis\Programs\miniconda3\Scripts\radian-script.py", line 9, in
sys.exit(main())
File "C:\Users\Francis\Programs\miniconda3\lib\site-packages\radian_init_.py", line 51, in main
r_home = Rhome()
File "C:\Users\Francis\Programs\miniconda3\lib\site-packages\rchitect\utils.py", line 85, in Rhome
raise RuntimeError("Cannot determine R HOME.")
RuntimeError: Cannot determine R HOME.

I then tried following the instructions to set R HOME in your README, like this:

env R_HOME=C:\Users\Francis\Programs\R\R-4.1.1 radian

but this gave the error:

'env' is not recognized as an internal or external command,
operable program or batch file.

However when I did

set R_HOME=C:\Users\Francis\Programs\R\R-4.1.1

I got no error and was able to then start radian.

I think it might be helpful to others to include the set option as well as the env option in the README.

@Kevinobote
Copy link

I also got the same issue:
I had installed R
I proceeded to add the R installation to the path to the system environment variables, this allowed me to run radian without issues.

Radian

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