RE: [R] calling r, from SAS, batch mode

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 14 Apr 2005 - 20:11:28 EST


> From: Y Y
>
> I generally work in SAS but have some graphics features I
> would like to
> run in r. I would like to do this 'automatically' from SAS.
>
> I'm thinking of something along the lines of putting the r
> code in a text
> file and calling system of x on it; r would expect the data
> in a certain place,
> and my SAS would drop the data in the right place/filename
> before invoking
> r.
>
> x 'r.exe myfile.r';
>
> Does anybody have any experience using r from within SAS like this
> or in a better way ?
>
> Alas, searching for a one word character r to find an archived answer
> is not easy SAS-L.

You could have started by searching in the FAQs, in particular, R for Windows FAQ section 2.13.  

Andy  

> S.
> ssquid@gmail.com
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Apr 14 20:46:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:36 EST