Re: [R] R help on for loop

2008-06-24 Thread milton ruser
Hi Ramya. Like this? for ( i in 1:nrow(map) ) { cat ("this is the line", i, "\n") } Miltinho. Brazil On 6/24/08, Rajasekaramya <[EMAIL PROTECTED]> wrote: > > > hi, > > I have a data stored in table format. The data is stored in the name map. > > 500545 rows and 3 columns. > > I want to use

[R] R help on for loop

2008-06-24 Thread Rajasekaramya
hi, I have a data stored in table format. The data is stored in the name map. 500545 rows and 3 columns. I want to use a for loop to scan through till the end of the row. can i use like this. for ( i in 1:row(map) { } Kindly clarify me Cheers Ramya -- View this message in context: http:/