<?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: Exporting R outputs to SAS dataset in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Exporting-R-outputs-to-SAS-dataset/m-p/678657#M5253</link>
    <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=imlug&amp;amp;docsetTarget=imlug_r_sect007.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;The SAS/IML documentation on calling R&lt;/A&gt; says:&lt;/P&gt;
&lt;P&gt;"The result of an R analysis can be a complicated structure. In order to transfer an R object via the previously mentioned methods and modules, the object must be coercible to a data frame. (The R object m can be coerced to a data frame provided that the function as.data.frame(m) succeeds.) There are many data structures that cannot be coerced into data frames. As the example in the next section shows, you can use R statements to extract and transfer simpler objects."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The doc then shows an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Aug 2020 09:34:50 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-08-22T09:34:50Z</dc:date>
    <item>
      <title>Exporting R outputs to SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Exporting-R-outputs-to-SAS-dataset/m-p/678628#M5252</link>
      <description>&lt;DIV&gt;I was able to run R code via PROC IML in SAS,so is there any way to export the generated outputs to SAS datasets since the R outputs don't follow data frame structure.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in&amp;nbsp;advance&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Aug 2020 02:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Exporting-R-outputs-to-SAS-dataset/m-p/678628#M5252</guid>
      <dc:creator>Jems</dc:creator>
      <dc:date>2020-08-22T02:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting R outputs to SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Exporting-R-outputs-to-SAS-dataset/m-p/678657#M5253</link>
      <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=imlug&amp;amp;docsetTarget=imlug_r_sect007.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;The SAS/IML documentation on calling R&lt;/A&gt; says:&lt;/P&gt;
&lt;P&gt;"The result of an R analysis can be a complicated structure. In order to transfer an R object via the previously mentioned methods and modules, the object must be coercible to a data frame. (The R object m can be coerced to a data frame provided that the function as.data.frame(m) succeeds.) There are many data structures that cannot be coerced into data frames. As the example in the next section shows, you can use R statements to extract and transfer simpler objects."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The doc then shows an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2020 09:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Exporting-R-outputs-to-SAS-dataset/m-p/678657#M5253</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-08-22T09:34:50Z</dc:date>
    </item>
  </channel>
</rss>

