[R] Call SAS from R

Don MacQueen macq at llnl.gov
Wed Aug 24 18:38:09 CEST 2005


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: 
http://www.R-project.org/posting-guide.html)

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

-Don

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?
>Thanks.
>
>Davoid
>
>
>****************************************************************************
>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]]
>
>______________________________________________
>R-help at 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


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




More information about the R-help mailing list