Hi Ramya.

Like this?

for ( i in 1:nrow(map) )
{
 cat ("this is the line", i, "\n")
}

Miltinho.
Brazil



On 6/24/08, Rajasekaramya <ramya.victory@gmail.com> 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 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://www.nabble.com/R-help-on-for-loop-tp18098661p18098661.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

