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 Installation Details - Showing Old Version of R #56

Closed
pbond-idfg opened this issue Oct 26, 2017 · 11 comments
Closed

R Installation Details - Showing Old Version of R #56

pbond-idfg opened this issue Oct 26, 2017 · 11 comments

Comments

@pbond-idfg
Copy link

When I try to run the 'Install R bindings' tool, the 'Select R Version (Set As Default)' option is 3.3.1 and is greyed out and I cannot select a different version of R. I have uninstalled 3.3.1 and installed 3.4.2 and this still happens.

When I run the 'R Installation Details' page I get:
image

Any ideas?

P.S. I am trying to embrace ArcGIS Pro but sometimes I need to revert back to ArcMap to get something done quickly. I did successful install the bridge in Pro, with no problems.

@scw
Copy link
Member

scw commented Oct 26, 2017

Hello Pam,

I think what's happened is that the new installation didn't register itself as the default, so the older 3.3.1 listing is still in the registry. Could you try manually removing (or renaming) the C:\Program Files\R\R-3.3.1 directory, then open ArcMap and run the tool?

Cheers,
Shaun

p.s. Yes, I think most users are in a similar situation -- muscle memory wins the speed race! When I do use Pro, I find that the interface is more consistent and easier to use, but it does take some training to reach that point.

@pbond-idfg
Copy link
Author

pbond-idfg commented Oct 26, 2017 via email

@pbond-idfg
Copy link
Author

It doesn't exist.

image

@scw
Copy link
Member

scw commented Oct 26, 2017

Hi Pam,

I've uploaded a new version of the toolbox. Could you try it, and see if it resolves this issue?

Cheers,
Shaun

@pbond-idfg
Copy link
Author

Just opening the 'Install R bindings' tool I get a red X and this:
image

I ignored it (because I don't know what it means' and typed '3.4.2' in the 'Selected R Version' box. (No dropdown appeared). Got this:
image

Interesting because I don't have R bridge installed. Maybe it is seeing the bridge I set up for ArcGIS Pro?!? Opened the tool again and checked 'Overwrite Existing Installation' and typed in '3.4.2' and got this:
image

'R Installation Details':
image

I can use the arcgisbinding library in R studio. So I guess it is installed?!?
image

@pbond-idfg
Copy link
Author

I have probably over-complicated the situation by trying to use in ArcMap and ArcPro

@wadloopoer
Copy link

Although possibly off topic, but going back to the initial question, the 'Select R Version (Set As Default)' for me (ArcMap 10.4.1) was not greyed out but was empty. I attempted to manually enter the version but this failed. Turns out that I had a installed R @ 64-bit. Uninstalling (I did not need 64-bit) and re-installing 32-bit solved that and 'Install R bindings' then worked.

@scw
Copy link
Member

scw commented Dec 20, 2017

@wadloopoer thanks for your report. Yes, because ArcMap is a 32-bit application, it can only talk to the 32-bit version of R as you found. Some libraries, like the MDB format used by Personal Geodatabases, only have 32-bit drivers and share this limitation. Microsoft has discontinued support for MDB, and there are no 64-bit versions of these libraries.

@scw
Copy link
Member

scw commented Feb 16, 2018

@pbond-idfg Have you been able to resolve your issues using the bridge with ArcMap?

@andyfarmerboy
Copy link

Hi @scw I had a very similar problem to @pbond-idfg. I have just upgraded Pro and ArcMap and the r-bridge install scripts aren't working (similar errors as described above). However, I was able to install the bindings manually using the method described in the screencast and I was able to get scripts working in ArcMap. (I have run into an error in ArcGIS Pro but will post it in a new tread).

@scdub
Copy link
Contributor

scdub commented Jul 3, 2021

I believe the original issue posted here has since been addressed.

@scdub scdub closed this as completed Jul 3, 2021
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

5 participants