<?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: Running R file on sas server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955534#M45673</link>
    <description>&lt;P&gt;1) you have to have R installed on the server,&lt;/P&gt;
&lt;P&gt;2) you have to have RLANG option in server's config,&lt;/P&gt;
&lt;P&gt;3) you have to have R_HOME system variable set,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) you have to have SAS/IML license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In 3) you can set the the variable yourself in the SAS session by setting options:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options set=R_HOME="/path/to/your/R";

eg:
options set=R_HOME="/X/R/R-4.3.1/";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;that also means you can have R installed locally in your home directory by yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 19:48:05 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2025-01-08T19:48:05Z</dc:date>
    <item>
      <title>Running R file on sas server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955519#M45672</link>
      <description>&lt;P&gt;I am using SAS EG to run SAS code for large datasets using a sas server. At the end of my SAS code I would like to include a way to run an R file. Either being able to run R code or just run the entire file would work.&lt;/P&gt;&lt;P&gt;Is there a way to do this? I know that it is possible when you are running the SAS files locally by adding RLANG to your sasv9.cfg file but was not sure if there was a way when using a server?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 18:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955519#M45672</guid>
      <dc:creator>Coreyw184</dc:creator>
      <dc:date>2025-01-08T18:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running R file on sas server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955534#M45673</link>
      <description>&lt;P&gt;1) you have to have R installed on the server,&lt;/P&gt;
&lt;P&gt;2) you have to have RLANG option in server's config,&lt;/P&gt;
&lt;P&gt;3) you have to have R_HOME system variable set,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) you have to have SAS/IML license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In 3) you can set the the variable yourself in the SAS session by setting options:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options set=R_HOME="/path/to/your/R";

eg:
options set=R_HOME="/X/R/R-4.3.1/";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;that also means you can have R installed locally in your home directory by yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 19:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955534#M45673</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2025-01-08T19:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Running R file on sas server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955535#M45674</link>
      <description>&lt;P&gt;Just have your SAS admin configure the SAS server to have R installed and the RLANG option turned on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enterprise Guide is just used to submit code to SAS to run. So if your SAS session is set to allow R code to be run you can run it in the SAS code you submit from Enterprise Guide.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 19:48:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Running-R-file-on-sas-server/m-p/955535#M45674</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-01-08T19:48:19Z</dc:date>
    </item>
  </channel>
</rss>

