Re: [R] Call SAS from R

2005-08-25 Thread justin bem
hi , Ihave you try to use the package foreign ? try it may be you will see how to read foreign data file. Sincerly ! - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch maili

Re: [R] Call SAS from R

2005-08-24 Thread Nordlund, Dan
Washington State Department of Social and Health Services Olympia, WA 98504-5204 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shin, David Sent: Wednesday, August 24, 2005 9:50 AM To: 'Don MacQueen'; r-help@stat.math.ethz.ch; [EMAIL PROTECTED] S

Re: [R] Call SAS from R

2005-08-24 Thread Prof Brian Ripley
Date: Wed, 24 Aug 2005 18:05:44 +0100 (BST) From: Prof Brian Ripley <[EMAIL PROTECTED]> To: David Forrest <[EMAIL PROTECTED]> Cc: "Shin, David" <[EMAIL PROTECTED]>, r-help@stat.math.ethz.ch, 'Don MacQueen' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subj

Re: [R] Call SAS from R

2005-08-24 Thread David Forrest
On Wed, 24 Aug 2005, Shin, David wrote: ... > > system("c:\\program files\\sas institute\\v8\\sas.exe test") > Warning message: > c:\program not found Escape the spaces too. It is trying to run the program c:\program or c:\progra~1\sas Dave -- Dr. David Forrest [EMAIL PROTECTED]

Re: [R] Call SAS from R

2005-08-24 Thread Shin, David
as institute\\v8\\sas.exe test" in dos environment, it didn't work, either. I will appreciate very much if someone can help a bit. Thanks. David -Original Message- From: Don MacQueen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 11:38 AM To: Shin, David; r-help@sta

Re: [R] Call SAS from R

2005-08-24 Thread Don MacQueen
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? Do

Re: [R] Call SAS from R

2005-08-24 Thread Shin, David
[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 10:58 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] Call SAS from R perhaps it would be easier to read directly your datafile from R ? read.table(...) is your friend, and quite easy to use.

Re: [R] Call SAS from R

2005-08-24 Thread vincent
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 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

[R] Call SAS from R

2005-08-24 Thread Shin, David
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 followi