R-ArcGIS / r-bridge-install

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

R Installation Details - Showing Old Version of R #56

Closed pbond-idfg closed 3 years ago

pbond-idfg commented 6 years ago

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

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

It doesn’t exist.

[cid:image001.png@01D34E50.51AEB270]

From: Shaun Walbridge [mailto:notifications@github.com] Sent: Thursday, October 26, 2017 11:47 AM To: R-ArcGIS/r-bridge-install r-bridge-install@noreply.github.com Cc: Bond,Pam pam.bond@idfg.idaho.gov; Author author@noreply.github.com Subject: Re: [R-ArcGIS/r-bridge-install] R Installation Details - Showing Old Version of R (#56)

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/R-ArcGIS/r-bridge-install/issues/56#issuecomment-339744877, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFwVr1-enmUM99WGQk0pFgnIOQvtzGS8ks5swMWWgaJpZM4QH37I.

pbond-idfg commented 6 years ago

It doesn't exist.

image

scw commented 6 years ago

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

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

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

wadloopoer commented 6 years ago

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

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

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

andyfarmerboy commented 6 years ago

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

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