<?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: Proc R in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824545#M325637</link>
    <description>&lt;P&gt;Afaik there is no proc r in sas right know, with recent releases you can use proc iml to execute r code.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 04:51:56 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2022-07-21T04:51:56Z</dc:date>
    <item>
      <title>Proc R</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824543#M325636</link>
      <description>Hi,&lt;BR /&gt;I am interested to run some R code in sas 9.4.&lt;BR /&gt;I recently leant for this paper(&lt;BR /&gt;&lt;A href="https://www.jstatsoft.org/article/view/v046c02" target="_blank"&gt;https://www.jstatsoft.org/article/view/v046c02&lt;/A&gt;)&lt;BR /&gt; but the provided Proc R looks to be an old version.&lt;BR /&gt;Although, I was able to run,  I couldn't generate R plots in sas results.,&lt;BR /&gt;I would like to ask if another updated version of this Proc R exists?&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 21 Jul 2022 04:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824543#M325636</guid>
      <dc:creator>sascode</dc:creator>
      <dc:date>2022-07-21T04:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc R</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824545#M325637</link>
      <description>&lt;P&gt;Afaik there is no proc r in sas right know, with recent releases you can use proc iml to execute r code.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 04:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824545#M325637</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-07-21T04:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc R</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824574#M325648</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had never heard about PROC R.&lt;BR /&gt;It is probably a 3rd party procedure, to be installed on top of regular SAS, but NOT supported by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find a lot on internet about running R functions and R programs from within PROC IML (Interactive Matrix Language).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See for example here :&lt;/P&gt;
&lt;P&gt;PhUSE 2011&lt;BR /&gt;Paper CS07&lt;BR /&gt;Calling R Functions from SAS&lt;BR /&gt;Dr. Peter Bewerunge, HMS Analytical Software, Heidelberg, Germany&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/phuse/2011/cs/CS07.pdf" target="_blank"&gt;https://www.lexjansen.com/phuse/2011/cs/CS07.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also in the SAS DOC of course ( the below doc is from IML Studio ) :&lt;/P&gt;
&lt;P&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation | SAS 9.4 / Viya 3.5&lt;BR /&gt;SAS/IML Studio for SAS/STAT Users&lt;BR /&gt;Calling Functions in the R Language&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/imlsstat/imlsstat_statr_toc.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/imlsstat/imlsstat_statr_toc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS has a PROC PYTHON, but no PROC R &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 09:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824574#M325648</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-07-21T09:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc R</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824616#M325666</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This isnt' a procedure but a SAS macro that runs the R analyses in the R program to redirect the results to SAS.&lt;/P&gt;
&lt;P&gt;Also the data is transferred with proc import/export between the environments.&lt;/P&gt;
&lt;P&gt;The paper and the macro are 10 years old (!) but the procedures used in SAS are still available with no significant update (if any) so I'm not sure what kind of update you expect?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 12:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824616#M325666</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2022-07-21T12:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc R</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824797#M325763</link>
      <description>I have the same problem that the plots from R cannot show in SAS result window (but it said yes in the paper). So, I cannot use ODS to generate html, ppt, rtf file directly. &lt;BR /&gt;But I can output the R plot in a folder and then use "proc document" to combine them later. you can check the link here: &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsgs/n0e8nrja6xauljn1es9oq5lk1kal.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsgs/n0e8nrja6xauljn1es9oq5lk1kal.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2022 22:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-R/m-p/824797#M325763</guid>
      <dc:creator>SASKY</dc:creator>
      <dc:date>2022-07-21T22:24:49Z</dc:date>
    </item>
  </channel>
</rss>

