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
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
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
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.
type ?read.table under R.
hih
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]
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]
Subject: Re: [R] Call SAS from R
On Wed, 24 Aug 2005