<?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: R and IML integration in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642396#M5058</link>
    <description>&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;I think the issue is still in your definition of the R_HOME variable. You should use the Linux "export" command. In the past, I have successfully installed R on Linux using yum and I used the following export command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;export R_HOME=/usr/lib64/R&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;Will you try that?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 20:19:57 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2020-04-23T20:19:57Z</dc:date>
    <item>
      <title>R and IML integration</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642395#M5057</link>
      <description>&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We've just installed R 3.6.3, downloaded from CRAN project site, &amp;nbsp;on our SAS Linux server (running RedHat). After the R installation was completed, we tested the R installation through R commands and works fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We added the RLANG command and the R_HOME on sasv9.cfg. We verified the path for R_HOME using R.home() command.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, we tried to validate if we could call and execute R through SAS EG using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
&amp;nbsp; submit/r;&amp;nbsp;
&amp;nbsp; endsubmit;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;following errors&amp;nbsp;&lt;/SPAN&gt;occurs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: SAS could not initialize the R language interface.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: The R shared library could not be loaded: /usr/local/lib64/R/lib/libR.so&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 20:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642395#M5057</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-04-23T20:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: R and IML integration</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642396#M5058</link>
      <description>&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;I think the issue is still in your definition of the R_HOME variable. You should use the Linux "export" command. In the past, I have successfully installed R on Linux using yum and I used the following export command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;export R_HOME=/usr/lib64/R&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs53F207AF"&gt;&amp;nbsp;Will you try that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 20:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642396#M5058</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2020-04-23T20:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: R and IML integration</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642402#M5059</link>
      <description>&lt;P&gt;Thanks. We installed R again using "--enable-R-shlib=yes" option on configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 20:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/R-and-IML-integration/m-p/642402#M5059</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-04-23T20:56:18Z</dc:date>
    </item>
  </channel>
</rss>

