Thanks for some kind responses from the list.
Maybe I should present my data here a little bit to explain why I want to 
use SAS.

Below is part of my data set. 
First, I need to skip the first 9 lines which I can use skip=9 to do this.
Second, I need to read to rows of data. the first row starts with "M01" and
ends before "M02". The second row starts with "M02" to the end.

Thanks for all the helps. I will appreciate if someone can answer my
original question or help me read this data in R.

G08MX.PLS       YEAR X CALIBRATION

                AUTOMATED FILE GENERATION

TEST  01   50   50    7    0    1
    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1
1    1    1    1    1    1    1    1    1    1    1    1    1    1    1

    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1
1    1    1    1    1
GROUP 01
M01         20001   0.64822   0.03298  -1.25144   0.13812   0.16387
0.05688
   0.00000   0.00000
   0.00000   0.00000
M02         20002   1.02401   0.04124  -0.56511   0.04894   0.12076
0.02445
   0.00000   0.00000
   0.00000   0.00000


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 10:58 AM
To: [email protected]
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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

**************************************************************************** 
This email may contain confidential material.\ If you were n...{{dropped}}

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to