Closed soggypickle closed 8 years ago
Hello @soggypickle, sorry to hear the bridge isn't working for you. Could you run the "R Installation Details" script that's included in the toolbox and post it's output? We check the registry for the install location of R, but based on the above it doesn't look like that detection is succeeding.
Thanks, Shaun
This is the message I get after running "r Installation Details"
Executing: UpdateBindings Start Time: Fri Aug 05 08:21:11 2016 Running script UpdateBindings... Package is not installed. First use the "Install R bindings" script. Completed script UpdateBindings... Succeeded at Fri Aug 05 08:21:11 2016 (Elapsed Time: 0.01 seconds)
@soggypickle that looks like the output of the "Update Bindings" script — could you try the "R Installation Details" once more? On my machine, this is what it's output looks like:
Executing: RInstallDetails Start Time: Fri Aug 05 10:49:48 2016 Running script RInstallDetails... R (version 3.3.0), installed in: C:\Program Files\R\R-3.3.0 R packages will be installed into: C:\Program Files\R\R-3.3.0\library All R package libraries detected: C:\Program Files\R\R-3.3.0\library The ArcGIS R package (version 1.0.0.122) is installed at: C:\Program Files\R\R-3.3.0\library\arcgisbinding Completed script RInstallDetails..
Sorry about that! I totally ran the wrong tool!
Executing: RInstallDetails Start Time: Fri Aug 05 10:11:46 2016 Running script RInstallDetails... R (version 3.3.1), installed in: \state.sd.local\Home\GF\gfpr13632\Documents\R\R-3.3.1 R packages will be installed into: \state.sd.local\Home\GF\gfpr13632\Documents\R\R-3.3.1\library All R package libraries detected: \state.sd.local\Home\GF\gfpr13632\Documents\R\R-3.3.1\library The ArcGIS R package is not installed. Use the 'Install R Bindings' tool to install them. Completed script RInstallDetails... Succeeded at Fri Aug 05 10:11:46 2016 (Elapsed Time: 0.01 seconds)
Great, thanks. Interesting, it looks like your installation resides on a network, which from what I've read isn't directly supported by R. If you open R, then type:
R.home()
What does it display as the result?
If you'd like to get going now, and rather not wait for us to resolve the install issue when working on a network drive, you can install the package manually within R. To do so, first download the package from GitHub, then follow the steps in this short screen cast to install from directly within R.
R.home() give the result
"//state.sd.local/Home/GF/GFPR13632/Documents/R/R-3.3.1"
Hello @soggypickle,
I can confirm that R does let you install and mostly seems to work fine from a network drive installation. The R Windows FAQ states otherwise, but it looks to be wrong:
Installing to a network share (a filepath starting with \machine...) is not supported: such paths will need to mapped to a network drive.
That said, there are issues such as the existing way that we install the package. I've updated the package with an alternate technique for network-based installations, could you download the latest version of the toolbox and try again?
Cheers, Shaun
I did and it has installed successfully. However, when i open R and then library(argisbinding), I am prompted to to run arc.check_product(). I run this command and the i receive this error:
Error: Could not bind to a valid ArcGIS Pro installation.
I have an advance ArcGIS Desktop Licence. How can I get R to recognize my licence?
Great! Installation is the hard part. To connect to ArcGIS Desktop, run the R shortcut labeled "R i386 3.3.1". ArcGIS Desktop is a 32-bit application, so it has to talk to the 32-bit version of R.
@soggypickle, I think we've resolved the technical problem with the bridge, so closing this issue. Feel free to reopen it, or open a new one if you're having problems still.
I am new at GitHub so hello to everyone! I am sorry to reopen this issue but I want to try the ArcGIS R bridge but I can't install R Bindings.
ERROR:
"Executing: InstallBindings false 3.4.1
Start Time: Thu Nov 16 12:45:31 2017
Running script InstallBindings...
Updating default R to 3.4.1
Traceback (most recent call last):
File "
R Installation details: "Executing: RInstallDetails Start Time: Thu Nov 16 12:46:53 2017 Running script RInstallDetails... R (version 3.4.1), installed in: C:\Program Files\R\R-3.4.1 R packages will be installed into: C:\Users\João\Documents\R\win-library\3.4 All R package libraries detected: C:\Users\João\Documents\R\win-library\3.4;C:\Program Files\R\R-3.4.1\library The ArcGIS R package is not installed. Use the 'Install R Bindings' tool to install it. Completed script RInstallDetails... Succeeded at Thu Nov 16 12:46:53 2017 (Elapsed Time: 0.08 seconds)"
Thank you!
João Windows 10 ArcGIS 10.4 R 3.4.1
I am running ArcMap 10.3 and and R 3.3.1. I download the file, open ArcMap and R. I go into the toll box and run the tool 'Install R-Bindings.' It errors and i get the following message: Unable to locate R package library. Link failed. How can I locate the R Package library?
The complete line of code is as follows. Executing: InstallBindings false Start Time: Tue Aug 02 13:52:31 2016 Running script InstallBindings... Saving URL to 'c:\temp\arc910b\tmpnbu94_\arcgisbinding1.0.0.122.zip' Rcmd.exe INSTALL c:\temp\arc910b\tmpnbu94\arcgisbinding_1.0.0.122.zip 'C:\Users\Username\Documents\R\R-3.3.1\bin\i386' CMD.EXE was started with the above path as the current directory. R command returned non-zero exit status. Unable to locate R package library. Link failed. Completed script InstallBindings... Failed to execute (InstallBindings). Failed at Tue Aug 02 13:52:34 2016 (Elapsed Time: 3.63 seconds)