<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sharing R-script in Arcgis server in R-ArcGIS Questions</title>
    <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800130#M142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That behavior is expected because there is no ArcMap or Pro on the server machine. However, if you go ahead and publish a web tool with an R script in it, it shouldn't affect the web tool running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2018 22:53:12 GMT</pubDate>
    <dc:creator>SimonSuo1</dc:creator>
    <dc:date>2018-08-06T22:53:12Z</dc:date>
    <item>
      <title>Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800122#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if there is any chance to share an R-script as a geoprocessing service. I suppose it would be necessary to install R in the server. Would there be any document explaining the steps? I've been searching for it but couldn't find any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be very appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sebastián&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 09:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800122#M134</guid>
      <dc:creator>SebastiánVázquez1</dc:creator>
      <dc:date>2017-10-07T09:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800123#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastián,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're right that we haven't documented this, I'll add an issue to my list for adding instructions on this. Here's the basic process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Install R on the Server. You'll want to make sure to install the 64-bit version of R.&lt;/LI&gt;&lt;LI&gt;Install any packages you intend on using in R (you can also do this in your geoprocessing script, but it's best practice to do it beforehand).&lt;/LI&gt;&lt;LI&gt;Install the R-ArcGIS Bridge on Server. You can do this through R directly, &lt;A href="https://4326.us/R/zipinst/r%20bridge%20install%20from%20zip_player.html"&gt;see this screencast&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Create your Geoprocessing Service that references R as you would create a Python service. With the necessary pieces in place, it should execute like any other GP Service.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let us know if you have any further questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 04:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800123#M135</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2017-10-12T04:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800124#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank so much you for response, Shaun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be grateful if you could answer one more question. What versions of arcgis server will support it? I suppose it must be related to supported desktop versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastián&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 02:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800124#M136</guid>
      <dc:creator>SebastiánVázquez1</dc:creator>
      <dc:date>2017-10-22T02:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800125#M137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastián, no problem, happy to help. Yes, you're right -- it's supported in the same versions of Server as Desktop. So Server 10.3.1 or newer will work.&lt;BR /&gt;&lt;BR /&gt;Cheers, Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800125#M137</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2017-10-24T17:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800126#M138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the only post/documentation I can find about running geoprocessing services based on R scripts on Server but it doesn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the steps but when I try to install&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;R-ArcGIS Bridge on Server I gives me an error message saying that it cannot find ArcGIS Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Do I have to install Pro on the same environment where ArcGIS Server is? I have 10.5&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 09:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800126#M138</guid>
      <dc:creator>GiacomoFavaron</dc:creator>
      <dc:date>2018-07-25T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800127#M139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my Amazon AWS deployment up and running with an ArcServer site and a Web AppBuilder (Dev Edition) using R-based GP services without any of the issues listed above. I am currently using ArcGIS 10.4.1 and R 3.4.0. Maybe not the latest rbridge but I would say 2-3 sub versions behind the latest. R was installed using the dual 32- and 64-bit installer from CRAN since the whole architecture like Shaun says has to be 64-bit for it to work along with ArcServer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure about the specific error you are reporting since that might be more appropriate for an ESRI tech person to answer you. In my case, I did not receive any error and have a few GP services published using R and the R-bridge. The only thing that took a while to figure out to make it work was the ScratchFolder output...in the R script you want to use $scratchWorkspace from the arcgisbindings package, or the derived output of a script won't be correctly written and throw an error. See this &lt;A _jive_internal="true" href="https://community.esri.com/thread/212376-r-bridge-on-server-deployments-derived-output-files-urls-not-working"&gt;GeoNet blog discussion&lt;/A&gt; about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800127#M139</guid>
      <dc:creator>FrancescoTonini2</dc:creator>
      <dc:date>2018-07-25T12:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800128#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion Francesco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same you did with the R installers and have the 64-bit version on server. However, when I tried to install arcgisbinding in R on the server I got the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; utils:::menuInstallLocal()&lt;/P&gt;&lt;P&gt;package ‘arcgisbinding’ successfully unpacked and MD5 sums checked&lt;/P&gt;&lt;P&gt;&amp;gt; library(arcgisbinding)&lt;/P&gt;&lt;P&gt;*** Please call arc.check_product() to define a desktop license.&lt;/P&gt;&lt;P&gt;&amp;gt; arc.check_product()&lt;/P&gt;&lt;P&gt;Error: Could not bind to a valid ArcGIS Pro installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to have ArcGIS Pro installed on the server as well?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a ticket open with ESRI but they are not the fastest to answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same&amp;nbsp;arcgisbinding_1.0.1.232 version on both desktop and server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800128#M140</guid>
      <dc:creator>GiacomoFavaron</dc:creator>
      <dc:date>2018-07-25T14:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800129#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you follow the normal ArcMap installation procedure for the rbridge (using their instructions to install rbridge from the ArcToolbox)? I did not even go into R to install any library manually...I just installed R and then followed ESRI's procedures from within ArcMap to install the whole R-bridge components. I am not sure about that requirement, but I do not think you need to have ArcGIS Pro for Rbridge to work...maybe the others here (Shaun) can help better on why this is happening...Keep in mind that R-ArcGIS is an external ESRI project and I was told more than once that normal ESRI technical tickets do not cover any issues related to external products, which is a bummer. I think you should keep trying getting in touch with Shaun, Marjean or any other ESRI project staff on GeoNet and/or on Rbridge Github to have a faster answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800129#M141</guid>
      <dc:creator>FrancescoTonini2</dc:creator>
      <dc:date>2018-07-25T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing R-script in Arcgis server</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800130#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That behavior is expected because there is no ArcMap or Pro on the server machine. However, if you go ahead and publish a web tool with an R script in it, it shouldn't affect the web tool running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 22:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/sharing-r-script-in-arcgis-server/m-p/800130#M142</guid>
      <dc:creator>SimonSuo1</dc:creator>
      <dc:date>2018-08-06T22:53:12Z</dc:date>
    </item>
  </channel>
</rss>

