<?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 Unable to interface with R in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/907772#M6155</link>
    <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get some IML work with R; have used it successfully in the past.&amp;nbsp; &amp;nbsp;Here's a trivial example to replicate the error:&lt;/P&gt;&lt;P&gt;proc iml;&lt;BR /&gt;&amp;nbsp;rannet=j(10,10,0);&lt;BR /&gt;&amp;nbsp;/* send matrix to R */&lt;BR /&gt;&amp;nbsp;run ExportMatrixToR(rannet, "rannet");&amp;nbsp;&lt;BR /&gt;&amp;nbsp;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That&amp;nbsp; generates this error:&lt;/P&gt;&lt;P&gt;ERROR: SAS could not initialize the R language interface.&lt;BR /&gt;ERROR: The request could not be completed because the R child process terminated unexpectedly with exit status 0xa.&lt;BR /&gt;ERROR: Execution error as noted previously. (rc=1000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS is initialized with the RLANG option, this used to work...(startup bit from the shortcut here is:)&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8\sasv9.cfg" -MEMSIZE 24G -RLANG -CPUCOUNT 8 -MEMMAXSZ 20G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Jim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 15:24:09 GMT</pubDate>
    <dc:creator>jmoody77</dc:creator>
    <dc:date>2023-12-13T15:24:09Z</dc:date>
    <item>
      <title>Unable to interface with R</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/907772#M6155</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get some IML work with R; have used it successfully in the past.&amp;nbsp; &amp;nbsp;Here's a trivial example to replicate the error:&lt;/P&gt;&lt;P&gt;proc iml;&lt;BR /&gt;&amp;nbsp;rannet=j(10,10,0);&lt;BR /&gt;&amp;nbsp;/* send matrix to R */&lt;BR /&gt;&amp;nbsp;run ExportMatrixToR(rannet, "rannet");&amp;nbsp;&lt;BR /&gt;&amp;nbsp;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That&amp;nbsp; generates this error:&lt;/P&gt;&lt;P&gt;ERROR: SAS could not initialize the R language interface.&lt;BR /&gt;ERROR: The request could not be completed because the R child process terminated unexpectedly with exit status 0xa.&lt;BR /&gt;ERROR: Execution error as noted previously. (rc=1000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS is initialized with the RLANG option, this used to work...(startup bit from the shortcut here is:)&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8\sasv9.cfg" -MEMSIZE 24G -RLANG -CPUCOUNT 8 -MEMMAXSZ 20G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Jim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/907772#M6155</guid>
      <dc:creator>jmoody77</dc:creator>
      <dc:date>2023-12-13T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to interface with R</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/907786#M6156</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;&amp;nbsp;I have used it successfully in the past.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I encourage you to think about what has changed since you last did this successfully.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Did you install a newer version of R? What version? Can you verify that you can run R successfully from the RGui?&lt;/P&gt;
&lt;P&gt;2) Did you install a newer version of SAS? What version?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Did you recently change your configuration file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/907786#M6156</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-12-13T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to interface with R</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/908035#M6157</link>
      <description>&lt;P&gt;Thanks Rick!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out my R_HOME had been undone after an upgrade, so fixed that.&amp;nbsp; Then had to add a hotfix, which didn't quite work for my setup but was able to jury-rig it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-interface-with-R/m-p/908035#M6157</guid>
      <dc:creator>jmoody77</dc:creator>
      <dc:date>2023-12-14T16:27:35Z</dc:date>
    </item>
  </channel>
</rss>

