problem running R geoprocessing tool

949
1
Jump to solution
07-24-2018 09:36 AM
GiacomoFavaron
New Contributor III

I have an R script which I successfully tested on Desktop and published as a geoprocessing tool.

The tool finds and filters some sql tables and outputs a table in a geodatabase.

But when I run the service I get the following error message:

 Failed to initialize R interpreter. Please install recent version R for Windows Failed to execute (SearchString). Failed to execute (SearchString).

Do I need to have R installed in the same environment of ArcGIS Server?

0 Kudos
1 Solution

Accepted Solutions
ShaunWalbridge
Esri Regular Contributor

Giacomo,

Yes, you do need to have R installed on Server for this to work. When the bridge operates, it operates within a single machine, so for a GP service to call R, it must also have R installed. We've added some documentation on this here:

  Deploying R for ArcGIS Server—Documentation | ArcGIS Enterprise 

Cheers,
Shaun

View solution in original post

0 Kudos
1 Reply
ShaunWalbridge
Esri Regular Contributor

Giacomo,

Yes, you do need to have R installed on Server for this to work. When the bridge operates, it operates within a single machine, so for a GP service to call R, it must also have R installed. We've added some documentation on this here:

  Deploying R for ArcGIS Server—Documentation | ArcGIS Enterprise 

Cheers,
Shaun

0 Kudos