R-ArcGIS / r-bridge-install

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

Problem installing the toolbox #48

Closed camarimar closed 7 years ago

camarimar commented 7 years ago

Hello!

I am trying to install the R-ARCGIS toolbox but this message appears everytime I click on the install button:

Link failed. Completed script InstallBindings... Failed to execute (InstallBindings). Failed at Mon Jun 19 14:37:07 2017 (Elapsed Time: 2.33 seconds)

Thank you for your help.

scw commented 7 years ago

Hello @camarimar,

It looks like you're installing into ArcMap 10.3.1, is that right? Do you get any messages prior to "Link failed"? For 10.3.1, you'll need to first start ArcMap as administrator:

Start ArcMap as an administrator, by right clicking the icon, selecting 'Run as Administrator', then trying the script

camarimar commented 7 years ago

Thank you for your reply @scw. I tried it starting the program as an administrator but I got the same result. The messages that are generated by trying the script are:

Unable to locate the requested R command: C:\Program FIles\R\R-3.3.3\bin\i386\Rcmd.exe Unable to locate the requested R command: C:\Program FIles\R\R-3.3.3\bin\i386\Rcmd.exe Fallback installation method failed. Unable to locate R package library. Link failed. Completed script InstallBindings Failed to execute (InstallBindings)

I looked for the file ArcGis it is not able to locate and I actually dont have that location. The location where I have Rcmd.exe is: C:\Program Files\R\R-3.3.3\bin\x64. I was thinking of creating a location that matches what ArcGis is looking for but I dont know if that will have consequences.

scw commented 7 years ago

Hello @camarimar,

Can you confirm that the executable exists at that location? It's possible that the installer detected an invalid installation of R which is still included in the registry. If that's the case, can you confirm what versions of R are present in C:\Program Files\R? It's possible that you have R installed, but only the x64 (64-bit) version.

scw commented 7 years ago

Hello @camarimar,

It sounds like you don't have the 32-bit version of R installed. Try reinstalling R, and make sure the 32-bit files are also installed:

install-32-bit-components

If you only want to use 64-bit R, you can install Background Geoprocessing to work with the bridge, or you can use ArcGIS Pro.

Cheers, Shaun

scw commented 7 years ago

@camarimar I'm going to close this issue, and hoping that adding the 32-bit components solved your issue. If it didn't, feel free to reopen the issue and we can look into it further.