Displaying 3 results from an estimated 3 matches for "xwait".
Did you mean:
wait
2010 Sep 15
4
Sas to R
Hi,
I need to call an R program from Sas. I have tried using the following code
in Sas using the x command but it just calls up dos and says
'D:\Program' is not recognized as an internal or external command, operable
program or batch file.
]
SAS CODE:
options xwait xsync;
%let Rsource=S:\EPI_Data\Communicable Diseases\DR1355 Historic Communicable
Disease Analaysis\R graphics;
options xwait xsync;
x '"D:\Program Files\R\R-2.9.2\bin\Rgui.exe" --no-save --quiet
<""&rsource.\Rtest.R""> ""&rsource.\Rtest...
2010 Nov 24
2
Running R from SAS
Hello All,
I am interested in running an R program with several random seeds. One approach is to launch the program from SAS. The recommended approach is to use the X command as shown below:
OPTIONS XWAIT XSYNC;
X "r.exe --no-save --quiet <""c:\temp\r\program.r"" >""c:\temp\r\program.log""";
However, this does not seem to work for me. Does anyone know how to launch an R program from SAS? Thank you in advance.
Ziad Elmously
ziad.elmously@t...
2009 Jan 24
1
Calling R from SAS
Can I call R from SAS? I tried the below command in SAS, but not
working...
OPTIONS XWAIT XSYNC;
X "C:\Program Files\R\R-2.7.1\bin\R.exe --no-save -quiet
<""C:\TEMPO\program.r""> ""C:\TEMPO\program.log""";
Had done this before and it was working perfect... But now, not...
Sorry if this query was supposed to be put in SAS m...