<?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 PROC IML Submit / R not functioning, with no errors in log in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542191#M4592</link>
    <description>&lt;P&gt;I am trying to use Proc IML to run R code as most of the project's needed processing takes place in SAS. This piece of code runs successfully in R, but when run in SAS, nothing happens, and no errors are reported. I've successfully submitted other chunks of R code via Proc IML submit / R, so have run out of troubleshooting paths.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IML ;
submit / R;
  library(lubridate)
  library(tidyverse)
  x=c(dir("X:/path/meta/ms3.out",  full.names = TRUE, ignore.case = TRUE))
  tmp1=x[1:length(x)]
    convert_csv&amp;lt;-function(tmp1) {
      load(tmp1) 
      fname = unlist(strsplit(tmp1,"ms3.out/"))[2]
      fname2 = unlist(strsplit(fname,".RData"))[1]
      write.csv(sib.cla.sum, file = paste("X:/path/meta/csv","/",fname2,".csv",sep=""))
    }
  lapply(tmp1,convert_csv)
endsubmit ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 11 Mar 2019 19:51:23 GMT</pubDate>
    <dc:creator>jkurka</dc:creator>
    <dc:date>2019-03-11T19:51:23Z</dc:date>
    <item>
      <title>PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542191#M4592</link>
      <description>&lt;P&gt;I am trying to use Proc IML to run R code as most of the project's needed processing takes place in SAS. This piece of code runs successfully in R, but when run in SAS, nothing happens, and no errors are reported. I've successfully submitted other chunks of R code via Proc IML submit / R, so have run out of troubleshooting paths.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IML ;
submit / R;
  library(lubridate)
  library(tidyverse)
  x=c(dir("X:/path/meta/ms3.out",  full.names = TRUE, ignore.case = TRUE))
  tmp1=x[1:length(x)]
    convert_csv&amp;lt;-function(tmp1) {
      load(tmp1) 
      fname = unlist(strsplit(tmp1,"ms3.out/"))[2]
      fname2 = unlist(strsplit(fname,".RData"))[1]
      write.csv(sib.cla.sum, file = paste("X:/path/meta/csv","/",fname2,".csv",sep=""))
    }
  lapply(tmp1,convert_csv)
endsubmit ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542191#M4592</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-11T19:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542356#M4593</link>
      <description>&lt;P&gt;Try options isOK= .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;PROC&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;IML&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
submit &lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt; R isOK=OK&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
.............
endsubmit &lt;SPAN class="token punctuation"&gt;;&lt;BR /&gt;print&amp;nbsp;OK;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542356#M4593</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-03-12T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542361#M4594</link>
      <description>&lt;P&gt;Better post is at IML forum&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; is there.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542361#M4594</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-03-12T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542365#M4595</link>
      <description>&lt;P&gt;Please attatch&amp;nbsp;your ms3.out file, or at least a portion of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542365#M4595</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-03-12T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542435#M4596</link>
      <description>&lt;P&gt;Thanks for the suggestion, but that didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;isOK=OK resulted in an error&lt;/P&gt;&lt;P&gt;OK=isOK resulted in no change from my previous attempts.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542435#M4596</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-12T15:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542440#M4597</link>
      <description>&lt;P&gt;The files in the ms3.out folder are RData files that I'm just trying to convert to a CSV file. The communities page isn't letting me attach an RData file to this post. Any suggestions would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542440#M4597</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-12T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542458#M4598</link>
      <description>&lt;P&gt;I guess my&amp;nbsp;first question is what do you mean when you say "&lt;SPAN&gt;nothing happens." Are you saying that the program runs to completion but no CSV files are created?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you verify that you have write-permission from within SAS to the directory where you are writing the CSV. I assume this directory is on the same machine that SAS is running on?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Simplify the program to create a simple data frame and use write.csv to write it to the directory in question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might as well verify that you can read the directory, too:&lt;/P&gt;
&lt;P&gt;2. Does the program work when you just load() the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Presumably, one of those operations will fail.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542458#M4598</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-03-12T15:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542471#M4599</link>
      <description>&lt;P&gt;Yes, exactly. The program runs to completion, but no csv files are created. When I run the exact code in R, it successfully creates the csv files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The directory is not on the hard drive of the computer, but it should be accessible. I haven't had any issues loading and creating files or new directories in the past in this directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's interesting, when I split it up into 2 main chunks:&lt;/P&gt;&lt;P&gt;Chunk 1:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IML ;
submit / R ;
  load("X:/NAYSHAW/NAYSHAW results/output_11055, 11056, 11062, 11066/meta/sleeplog.RData") #ggir log
  write.csv(sleeplog, file = paste("X:/NAYSHAW/NAYSHAW results/output_11055, 11056, 11062, 11066/meta/","/","sleeplog.csv",sep="")) #csv log
endsubmit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and Chunk 2:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;submit / R ;
  library(lubridate)
  library(tidyverse)
  x=c(dir("X:/NAYSHAW/NAYSHAW results/output_11055, 11056, 11062, 11066/meta/ms3.out",  full.names = TRUE, ignore.case = TRUE))
  tmp1=x[1:length(x)]
    convert_csv&amp;lt;-function(tmp1) {
      load(tmp1) 
      fname = unlist(strsplit(tmp1,"ms3.out/"))[2]
      fname2 = unlist(strsplit(fname,".RData"))[1]
      write.csv(sib.cla.sum, file = paste("X:/NAYSHAW/NAYSHAW results/output_11055, 11056, 11062, 11066/meta/csv","/",fname2,".csv",sep=""))
    }
  lapply(tmp1,convert_csv)
endsubmit ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Chunk 1 successfully loads and writes the file. But Chunk 2 runs to completion with no resulting CSV files.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542471#M4599</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-12T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542475#M4600</link>
      <description>&lt;P&gt;I do not know what is going on but I think you are on the right track by breaking up the problem. Does it work if you call the lapply&amp;nbsp;function with a list that contains the 'sleeplog.RData' file which works in the first chunk? How about a hard-coded list with two elements?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 16:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/542475#M4600</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-03-12T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545239#M4607</link>
      <description>&lt;P&gt;I'm not following your suggestion completely as I've had a hard time picking up R. I suppose I'm confused as to why, if the code works in R, it does not work using PROC IML submit / R. It's likely I'm not understanding why the 2 are different in results. Any more suggestions would be appreciated. Or more detail on what&amp;nbsp; you mean by your post.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 14:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545239#M4607</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-22T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545475#M4612</link>
      <description>&lt;P&gt;Depending on where SAS runs, it might not have access to (or permission for) the same directories on your PC that R is accessing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I've said, your best bet is to break up the problem to find out what is failing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be helpful if you explain your goal. What are you trying to accomplish? It looks like you are converting R data frames to CSV files, but why? Is that so that SAS can read the CSV? If so, could you use &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 ImportDataSetFromR function&lt;/A&gt; to read the R data directly? Why go through CSV?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2019 12:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545475#M4612</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-03-23T12:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545874#M4613</link>
      <description>&lt;P&gt;Thank you Rick_SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wasn't really sure how to break up the pieces of the remaining code as it is a function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, that is exactly what I'm trying to accomplish. The file we are dealing with is created partway through an R package run. We are taking this intermediate file and doing our own processing thereafter, but doing so in SAS. So, yes we just want the RData file to be used in SAS. I will try this function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 15:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/545874#M4613</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-03-25T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/552564#M4652</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also having trouble using the ImportDataSetFromR function. The following code runs successfully, but again there is no result (no output, no listing, etc).&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IML ;
submit / R ;
load("X:/path/11055__049771.RData").
sib.cla.sum &amp;lt;- as.data.frame(sib.cla.sum)
endsubmit ;
call ImportMatrixFromR("Work.Mydata", "sib.cla.sum");
use Work.Mydata ;
show contents;
close Work.Mydata ;
QUIT ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I followed your link but it only included the generic information. There was no accompanying syntax. Are there some tutorials on how to utilize this function and any specifications required?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/552564#M4652</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-04-19T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/552571#M4653</link>
      <description>&lt;P&gt;If you are trying to create a SAS data set, use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;call ImportDATASETFromR("Work.Mydata", "sib.cla.sum");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are calling&amp;nbsp;&lt;/P&gt;
&lt;P&gt;call ImportMATRIXFromR("Work.Mydata", "sib.cla.sum");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 10:22:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/552571#M4653</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-04-20T10:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555795#M4658</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this correction. I made the edits and am still coming up with no results and no errors.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=rlang; run ;

PROC IML ;
submit / R ;
load("X:/path/file.RData")
RData &amp;lt;- sib.cla.sum
endsubmit ;
	call ImportDataSetFromR("Work.Mydata", "RData");
use Work.Mydata ;
show contents;
close Work.Mydata ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've confirmed sib.cla.sum is a data frame within the file using attributes. This is what prints in the log:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;RLANG Enables SAS to execute R language statements.&lt;BR /&gt;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;24&lt;BR /&gt;25 PROC IML ;&lt;BR /&gt;NOTE: IML Ready&lt;BR /&gt;26 submit / R ;&lt;BR /&gt;27 load("X:/NAYSHAW/NAYSHAW results/output_testRtoSAS/meta/ms3.out/11055__049771.RData")&lt;BR /&gt;28 RData &amp;lt;- sib.cla.sum&lt;BR /&gt;29 endsubmit ;&lt;BR /&gt;30 call ImportDataSetFromR("Work.Mydata", "RData");&lt;BR /&gt;31 use Work.Mydata ;&lt;BR /&gt;32 show contents;&lt;BR /&gt;33 close Work.Mydata ;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But there is no information in the output and no data set in the WORK directory. I apologize if I'm missing a simple step. Based on the SAS IML User Guide I am expecting some kind of basic output showing the data and a file saved in the work directory.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 22:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555795#M4658</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-05-02T22:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555887#M4659</link>
      <description>&lt;P&gt;I don't know, but the problem is probably in your data. Try the following test, which uses one of the standard R data frames:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=rlang VALUE; run ;

PROC IML ;
submit / R ;
RData &amp;lt;- iris        # built-in data set
is.data.frame(RData)
endsubmit ;
	call ImportDataSetFromR("Work.Mydata", "RData");
use Work.Mydata ;
show contents;
close Work.Mydata ;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 May 2019 11:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555887#M4659</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-03T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555991#M4666</link>
      <description>&lt;P&gt;Thank you Rick, but running this test provided the same result. The code runs successfully, but no data set is created in the Work directory and no output is provided by SAS. I've tested this using SAS Enterprise Guide and base SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now thinking there is some error on how SAS is talking to R.&lt;/P&gt;&lt;P&gt;This is what's included in my configuration file, which is located at C:\Program Files\SASHome\SASFoundation\9.4&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-RLANG&lt;BR /&gt;-config "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"&lt;BR /&gt;-SET R_HOME "C:\PROGRAM FILES\R\R-3.5.1\bin"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The R_HOME path contains the 'R.exe' file and the 'Rscript.exe' file.&lt;/P&gt;&lt;P&gt;The VALUE option you included results in these log statements:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Value: RLANG&lt;BR /&gt;Scope: SAS Session&lt;BR /&gt;How option value set: Config File&lt;BR /&gt;Config file name:&lt;BR /&gt;C:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I run:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysget(R_HOME) ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get this statement in the log:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;C:\PROGRAM FILES\R\R-3.5.1\bin&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your continued support and patience! I appreciate any assistance you provide.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 15:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/555991#M4666</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-05-03T15:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556010#M4668</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think the R_HOME environment variable must point to the root directory of the R installation, not to the "bin" subdirectory.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 17:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556010#M4668</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-03T17:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556021#M4670</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I originally had the root directory 'C:\Program Files\R\R-3.5.1'. I tried referring to the subdirectory thinking that the path might need to have the actual R executable file. Neither have worked. Are you able to share some of your configurations and output using the same code so I can compare?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 17:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556021#M4670</guid>
      <dc:creator>jkurka</dc:creator>
      <dc:date>2019-05-03T17:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IML Submit / R not functioning, with no errors in log</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556027#M4671</link>
      <description>&lt;P&gt;It looks like you are running Windows and that both SAS and R are installed on the same PC, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post&lt;/P&gt;
&lt;P&gt;1. Version of SAS&lt;/P&gt;
&lt;P&gt;2. Bitness (32-bit or 64-bit)&lt;/P&gt;
&lt;P&gt;4. Bitness of R (it better match the bitness of SAS!)&lt;/P&gt;
&lt;P&gt;5. How you are calling SAS (EG? Windows DMS? SAS/IML Studio? SAS Studio? University Edition?)&lt;/P&gt;
&lt;P&gt;6. Let's make sure that R is being found. Run the following simple program and post the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
submit / R;
  x &amp;lt;- 1:5
  x
endsubmit;
run ImportMatrixFromR(y, "x");
print y;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 17:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/PROC-IML-Submit-R-not-functioning-with-no-errors-in-log/m-p/556027#M4671</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-03T17:42:21Z</dc:date>
    </item>
  </channel>
</rss>

