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

Error: Could not bind to a valid ArcGIS Desktop (ArcGIS 10.3.1) #64

Open
mhornseth opened this issue Feb 15, 2018 · 7 comments
Open

Error: Could not bind to a valid ArcGIS Desktop (ArcGIS 10.3.1) #64

mhornseth opened this issue Feb 15, 2018 · 7 comments

Comments

@mhornseth
Copy link

I am running ArcGIS for desktop (10.3.1.4959) and R version 3.4.3. I installed the bindings in ArcGIS and the library via a zip file in R. However, when I run arc.check_product() I get a message saying: Error: Could not bind to a valid ArcGIS Desktop installation.

I have tried restarting and updating the R bindings in ArcGIS, but neither fix it. I have checked the appropriate folders, and it looks like everything installed correctly. Any help would be appreciated!

@scw
Copy link
Member

scw commented Feb 16, 2018

Hello @mhornseth, there are a couple of possibilities for this. Could you run the "R Installation Details" tool and post the results? Can you try running one of the example Geoprocessing tools from ArcGIS and share the error it gives there? You can do so by navigating in ArcMap to the directory you installed arcgisbinding into (usually, either in Documents\R\3.4, or Program Files\R\3.4.3\library, and selecting examples > R Script Examples.tbx. From that toolbox, try running the "Progress Messages" tool and see if it executes.

@scw
Copy link
Member

scw commented May 8, 2018

@mhornseth did you get the bridge to work on your end? Thanks for any updates.

@DrNJT
Copy link

DrNJT commented Jul 19, 2018

I'm getting a similar error message albeit with ArcGIS Pro 2.1.0.1 and R 3.4.0 using arc.check_product()
"Error: Could not bind to a valid ArcGIS Pro Installation". Looks fine from ArcGIS Pro.
However I can execute the "Progress Messages" tool as noted above.
Any thoughts?

@orhuna
Copy link

orhuna commented Jul 19, 2018

Hello @DrNJT . Can you please check your environment variables (for user)? One cause of this issue is the /bin directory not being present under system path and arcgisbinding not being able to verify Pro to establish a connection.

@DrNJT
Copy link

DrNJT commented Jul 20, 2018

That’s a v helpful suggestion and thanks, but I can’t easily view the environment variables on this PC. Assuming /bin isn’t specified, are there any workarounds?

@dp1900
Copy link

dp1900 commented Jul 18, 2019

I have ArcMap Desktop ver 10.7 and having issues running the "Install R bindings" tool. As soon as I clicked, it will show the Install R bindings window and the error. My R version after executing R.home() is
R.home()
[1] C:\Program Files\R\R-3.4.1

The "Print R Version" tool shows:

Executing: RVersion
Start Time: Thu Jul 18 16:04:18 2019
Running script RVersion...
3.4.1
Completed script RVersion...
Succeeded at Thu Jul 18 16:04:18 2019 (Elapsed Time: 0.01 seconds)

It shows both ArcMap and R have same version.

Capture

Install R bindings
Install_R_bindings

Here's the R Installation Details
R_Installation details snapshot

I would appreciate any help. Thanks.

@seyoumyg
Copy link

seyoumyg commented May 7, 2020

Is there any work around for this issue? I am getting the exact same problem while installing the Bridge on ArcGIS Desktop 10.5.

Thank you so much

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

6 participants