R-ArcGIS / r-bridge-install

Install the R ArcGIS Tools
Apache License 2.0
188 stars 59 forks source link

R Bindings Installation in ArcGIS Pro fails #51

Closed Jololi closed 7 years ago

Jololi commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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 commented 7 years ago

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.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Dr. Souleymane Fall

Assistant Professor

College of Agriculture, Environment & Nutrition Science

Tuskegee University

On Fri, Aug 4, 2017 at 1:31 PM, Shaun Walbridge notifications@github.com wrote:

@Jololi https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/R-ArcGIS/r-bridge-install/issues/51#issuecomment-320321921, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac_riuC_ToK2xX7QbtsqQ64DInhhpFJ9ks5sU2ORgaJpZM4Og3zy .