Re: [R] Call SAS from R

From: Shin, David <david.shin_at_pearson.com>
Date: Thu 25 Aug 2005 - 02:14:24 EST


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: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of vincent@7d4.com 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



R-help@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

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

R-help@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 Received on Thu Aug 25 02:19:45 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:50:02 EST