<?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: Run R code inside SAS easily in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332325#M74784</link>
    <description>&lt;P&gt;No,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13868"&gt;@AhmedAl_Attar&lt;/a&gt;&amp;nbsp;is correct. &amp;nbsp;You cannot configure SAS University Edition to run R. &amp;nbsp;This requires a fully licensed version of SAS that you install yourself (for Windows or Linux).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your goal is to reuse specific R packages, you might be stuck. &amp;nbsp;If your goal is to use certain capabilities that you know about in R but don't know about in SAS, you could post a "how do I..." question to the Statistical Procedures board or SAS/IML board here on the communities.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2017 20:28:01 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-02-13T20:28:01Z</dc:date>
    <item>
      <title>Run R code inside SAS easily</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332314#M74780</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to run R code from SAS University Edition (UE).&lt;/P&gt;&lt;P&gt;As we know UE runs on server, whereas,&amp;nbsp;R (for Windows) is installed on my local machine -- path:C:\Program Files\R\R-3.3.2\bin\R.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1: &lt;SPAN&gt;Can UE (in client/server environment) set a folder on client machine?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;The following code does not set&amp;nbsp;the path for 'work directory' appropriately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A. setwd("/folders/myfolders/progs")&lt;/P&gt;&lt;P&gt;Note: The path given above is the UE mapped path to local folder C:\My_Work\SASUniversityEdition\myfolders\progs).&lt;/P&gt;&lt;P&gt;Note: Know that it is not working because later on in log it says: physical file is not there, when a file is referenced from that folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas, the line below works...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B. setwd("&amp;amp;workdir")&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: WORK dir is on the UE server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2: &lt;SPAN&gt;Can UE (in client/server environment) use NOXWAIT, XSYNC, PIPE? &amp;nbsp;Later on the code stops because of the following errors. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options noxwait xsync;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; &lt;SPAN&gt;ERROR:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Unrecognized SAS option name NOXWAIT.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; ERROR: Unrecognized SAS option name XSYNC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filename &amp;lt;fileref&amp;gt;&amp;nbsp;pipe "&amp;amp;rpath"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; &lt;SPAN&gt;ERROR: Insufficient authorization to access PIPE. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; ERROR: Error in the FILENAME statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: Using 'File Shortcuts' in UE, rpath=%str(/folders/myshortcuts/R/R-3.3.2/bin/R.exe)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appeciated!!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 19:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332314#M74780</guid>
      <dc:creator>ea22</dc:creator>
      <dc:date>2017-02-13T19:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run R code inside SAS easily</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332321#M74783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS University Edition is a vApp (self-contained bundle of software &amp;amp; OS). for more details check this link &lt;A href="http://support.sas.com/software/products/university-edition/faq/main.htm" target="_self"&gt;SAS University Edition - FAQ&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the vApp, SAS is running on CentOS Linux. The&lt;SPAN&gt; NOXWAIT, XSYNC options are SAS windows options, and they are not valid for Linux.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In short, I don't think what you are asking for is possible! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you had SAS running on a Linux server, then you would have the ability to install R on the same Linux server and intgerate the two software together on Linux. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I'm wrong and someone can provide you with a positive alternative,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332321#M74783</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2017-02-13T20:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Run R code inside SAS easily</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332325#M74784</link>
      <description>&lt;P&gt;No,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13868"&gt;@AhmedAl_Attar&lt;/a&gt;&amp;nbsp;is correct. &amp;nbsp;You cannot configure SAS University Edition to run R. &amp;nbsp;This requires a fully licensed version of SAS that you install yourself (for Windows or Linux).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your goal is to reuse specific R packages, you might be stuck. &amp;nbsp;If your goal is to use certain capabilities that you know about in R but don't know about in SAS, you could post a "how do I..." question to the Statistical Procedures board or SAS/IML board here on the communities.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332325#M74784</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-02-13T20:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run R code inside SAS easily</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332327#M74785</link>
      <description>&lt;P&gt;The FAQ for the SAS University Edition includes a list of &lt;A href="http://support.sas.com/software/products/university-edition/faq/limitations.htm" target="_self"&gt;features in SAS that are not supported in SAS UE.&lt;/A&gt;&amp;nbsp;The third bullet is&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;The integration of SAS/IML with R is not supported. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-R-code-inside-SAS-easily/m-p/332327#M74785</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-02-13T20:30:41Z</dc:date>
    </item>
  </channel>
</rss>

