[R] How to read a row dataset one by one

From: Jan Sabee <jan.sabee_at_gmail.com>
Date: Fri 10 Jun 2005 - 18:32:15 EST


Dear all,
How to read a row dataset one by one and then print it.

x1 x2 x3 x4 x5 y
a b a c c M1
c b b c c M4
c c a c c M2
c a c a a M2
c c a a a M1
c a b c a M3
c c a b c M3
c a c a b M2
c c a b a M1

I need a result like
read row no 1,
[1] a b a c c M1
read row no 2,
[1] c b b c c M4

.
.
.

the last row,
[1] c c a b a M1

Kind regards,
Jan Sabee



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 Fri Jun 10 18:37:21 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:28 EST