Re: [R] Call SAS from R

From: Don MacQueen <>
Date: Thu 25 Aug 2005 - 02:38:09 EST

How does it not work? Do you get error messages? Nothing at all? (it's difficult to help without more specific information, so this is a good time to suggest reading the posting guide:

What happens if you try to run that exact command outside of R? Does it work?


At 10:22 AM -0500 8/24/05, Shin, David wrote:
>Hi All,
>I am new to post question on this list. I apologize if this question is too
>easy or irrelevant.
>I am doing a simulation study and I need to read a data file that can be
>easily read by SAS.
>So, what I try to do is to execute SAS in R and then read the output of SAS
>to R.
>I try the following code but it didn't work.
>system("c:\\program files\\sas institute\\v8\\sas.exe test")
>can anyone give me some help with this?
>This email may contain confidential material.
>If you were not an intended recipient,
>Please notify the sender and delete all copies.
>We may monitor email to and from our network.
> [[alternative HTML version deleted]]
> mailing list
>PLEASE do read the posting guide!

Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Aug 25 02:43:44 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:50:03 EST