<?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: Calling R Language Statement from SAS IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252760#M2591</link>
    <description>&lt;P&gt;You almost never have to define R_HOME if you install R in a standard place. In fact, I think the&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/68150/HTML/default/viewer.htm#imlug_r_toc.htm" target="_self"&gt;SAS/IML&amp;nbsp;documentation for calling R.&lt;/A&gt;&amp;nbsp;doesn't even mention it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove the refernce to&amp;nbsp;R_HOME.&amp;nbsp; If you need it, I believe that the correct syntax does not contain the angle brackets; just use &amp;nbsp;"C:\Program Files\R\R-3.2.2"&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 16:56:21 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-02-26T16:56:21Z</dc:date>
    <item>
      <title>Calling R Language Statement from SAS IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252757#M2590</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to call R language statement by using "PROC IML" in Base SAS 9.4...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have SAS IML Studio 14.1, SAS/IML 14.1 and R 3.2.2/R 3.2.3 and also set the following in configration file of SAS...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-RLANG&lt;BR /&gt;-SET R_HOME "&amp;lt;C:\Program Files\R\R-3.2.2&amp;gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still I am getting following error in Base SAS...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: SAS could not initialize the R language interface.&lt;BR /&gt;ERROR: An installed version of R could not be found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I tried to call R language statement in SAS IML Studio, it works fine...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to call R from Base SAS Proc IML not from SAS IML Studio...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance!!!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Urvish&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252757#M2590</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2016-02-26T16:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calling R Language Statement from SAS IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252760#M2591</link>
      <description>&lt;P&gt;You almost never have to define R_HOME if you install R in a standard place. In fact, I think the&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/68150/HTML/default/viewer.htm#imlug_r_toc.htm" target="_self"&gt;SAS/IML&amp;nbsp;documentation for calling R.&lt;/A&gt;&amp;nbsp;doesn't even mention it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove the refernce to&amp;nbsp;R_HOME.&amp;nbsp; If you need it, I believe that the correct syntax does not contain the angle brackets; just use &amp;nbsp;"C:\Program Files\R\R-3.2.2"&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252760#M2591</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-26T16:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calling R Language Statement from SAS IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252891#M2592</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the quick response...I just removed it and it is working fine now...Do you think we can use SAS Language within the R Interface...I whould like to use SAS Language within SUBMIT and ENDSUBMIT block while using R language...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 03:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252891#M2592</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2016-02-27T03:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling R Language Statement from SAS IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252917#M2593</link>
      <description>&lt;P&gt;Yes, you can call SAS procedures and R functions in the same program. That is Advantage #4 on the list of &lt;A href="http://blogs.sas.com/content/iml/2013/11/25/twelve-advantages-to-calling-r-from-the-sasiml-language.html" target="_self"&gt;"Twelve advantages to calling R from the SAS/IML language"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 11:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-Language-Statement-from-SAS-IML/m-p/252917#M2593</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-27T11:04:26Z</dc:date>
    </item>
  </channel>
</rss>

