R-ArcGIS / r-bridge-install

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

ArcPro 3.1, R version 4.3.3 Bindings Issue #124

Closed diamantischris closed 3 months ago

diamantischris commented 3 months ago

When trying to install binding, I get the following error message: image

I am using a windows server 2016 (physical machine)

JosiahParry commented 3 months ago

{arcgisbinding} is not yet supported for R 4.3. We putting the finishing touches on a new version which will support using {terra} and will support R 4.3.

Edit: that is incorrect. My apologies.

Do you have internet connection on this machine? I just tried this and the installation worked.

diamantischris commented 3 months ago

I have internet connection on this device. For what it's worth, I also tried on R version 4.3.2, same issue.

JosiahParry commented 3 months ago

The error message indicates that you cannot access the URL where the package is available.

Can you confirm that you can open the URL https://r.esri.com/bin/windows/contrib/4.3/PACKAGES

I was just able to download the package image image

diamantischris commented 3 months ago

Yes I was able to follow the link which downloaded this file: image

I presume this is what that file should look like? I then tried to install from the option "install from file", but that option wants me to find a zip file. Do I need to send the package file to a compressed folder?

JosiahParry commented 3 months ago

There is definitely something limiting Pro's ability to use the internet then! That file defines what packages are available in a CRAN-like repository.

How familiar with R are you? If you feel comfortable installing an R package you can run the below from an R console

install.packages("arcgisbinding", repos="https://r.esri.com", type="win.binary")

or you can download the zip file from here: https://github.com/R-ArcGIS/r-arcgis.github.io/tree/master/bin/windows/contrib/4.3

diamantischris commented 3 months ago

Running from the R studio console worked, thanks!

JosiahParry commented 3 months ago

awesome! glad to hear it