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

R Bindings Installation in ArcGIS Pro fails #51

Closed
Jololi opened this issue Jul 24, 2017 · 3 comments
Closed

R Bindings Installation in ArcGIS Pro fails #51

Jololi opened this issue Jul 24, 2017 · 3 comments

Comments

@Jololi
Copy link

Jololi commented Jul 24, 2017

When I run the Install R bindings script in ArcGIS Pro, I receive the following message:

Unable to locate requested R command: C:\Program Files\R\R.3.3.2.2\bin\x64\Rscript.exe

The problem is that in my Program Files folder, I have two R folders: one for R-3.3.2 and one for 3.3.2.2.
In the former (3.3.2), Rscript.exe is effectively located in the x64 folder.
But in the second (3.3.2.2), it is located in the i386 folder. And it looks like the Install R binding tool is looking for Rscript.exe in a place where it doesn't exist.

Thanks for your help.

@scw
Copy link
Member

scw commented Aug 4, 2017

@Jololi, the installer uses the registry to try and find the correct location to install R into. If you can, I'd uninstall and reinstall R, installing both the 32-bit and 64-bit versions at the same time. Best I know, there isn't an R 3.3.2.2 release, so that's probably just an error that crept in during a previous install. If you know that the version in 3.3.2.2 is correct and what you'd like to use, alternatively you could set the R_HOME variable to point at the location of the R installation directory you'd like to use.

@Jololi
Copy link
Author

Jololi commented Aug 5, 2017

Hello Shawn,
Thanks you so much. I uninstalled R and then deleted the 3.3.2.2 folder (I have no idea how it was installed!). Then I reinstalled and this time the R Bindings installation succeeded.
I appreciate your help.
Best regards.

@Jololi Jololi closed this as completed Aug 5, 2017
@Jololi
Copy link
Author

Jololi commented Aug 5, 2017 via email

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