Install in multiple labs

508
4
04-02-2019 05:55 AM
JoshObrecht1
New Contributor III

I manage multiple labs and would like to install this on them. Is there a way to install them without running the script in Toolbox or does that need to be done on every individual machine?

Tags (1)
0 Kudos
4 Replies
by Anonymous User
Not applicable

Hello Joshua,

You can now install the R-ArcGIS bridge via the Geoprocessing option in ArcGIS Pro. Out of the box we don't offer automating installing the bridge with the installation of ArcGIS Pro. Is R a part of your image for these machines? If so, we may be able to give you some code patterns for a batch file that sets up the bridge.

0 Kudos
JoshObrecht1
New Contributor III

R will be part of the image.

0 Kudos
by Anonymous User
Not applicable

There are 3 different options:

1-) You can use the following command to install the bridge after you install R from arcgisbinding.zip that is local

./R.exe --vanilla -e "install.packages(pkgs='C:/Users/user/Downloads/arcgisbinding_1.0.1.232.zip',destdir=NULL)" 

2-) Similarly, you canuse the github repo location "https://github.com/R-ArcGIS/$repo/archive/master.zip"

3-) You can unzip arcgisbinding and copy it to lib folder in R directory. Note that, if R_Home is not set correctly after installing R this option may not work.

0 Kudos
ShaunWalbridge
Esri Regular Contributor

Hello Joshua,

Was Orhun's answer enough to get you going with this? If you need to configure the R connection for each Pro instance, when you select the desired installation of R from the Geoprocessing options pane, internally all that is happening is creating a new text file, located at %LOCALAPPDATA%\Esri\RIntegration.conf. This file is a text file containing a single line:

R_HOME=<Path to selected R installation>

For example, with R 3.6.0 installed, it might be set to:

R_HOME=c:\Program Files\R\R-3.6.0


Cheers,
Shaun

0 Kudos