Re: [R] Running R from SAS

2010-11-25 Thread Eric Lecoutre
Ziad, Also you didn't mention which version of SAS and which modules. In case you are working with 9.2 and have at disposal IML, you can have a look at http://support.sas.com/documentation/cdl/en/imlsstat/63545/HTML/default/viewer.htm#statr_toc.htm Eric 2010/11/24 > Hello All, > > I am inter

Re: [R] Running R from SAS

2010-11-24 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of ziad.elmou...@tnsglobal.com > Sent: Wednesday, November 24, 2010 3:27 AM > To: r-help@r-project.org > Subject: [R] Running R from SAS > > Hello All,

[R] Running R from SAS

2010-11-24 Thread Ziad.Elmously
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""";