Quoting Marcos Sanches <[EMAIL PROTECTED]>:

> I mean, I want something like this:
> 
> i<-0
> While(i<100){
> "do a lot of commands"
> "print i"
> i<-i+1
> }
> 
> How do I "print" the "i" at each step?

Is
  print(i)
what you want?

Cheers,

Kevin
------------------------------------------------------------
Ko-Kang Kevin Wang
SLC Statistics Workshops Co-ordinator
Student Learning Centre
University of Auckland
New Zealand

-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/

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

Reply via email to