An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050824/76eefb45/attachment.pl
Call SAS from R
3 messages · Shin, David, vincent@7d4.com, Don MacQueen
perhaps it would be easier to read directly your datafile from R ? read.table(...) is your friend, and quite easy to use. type ?read.table under R. hih
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