On Wed, 4 Jun 2003, Thomas W Blackwell wrote: > > I think cat() will print immediately from inside a loop.
So will print(), but Gilda is probably on Windows and hasn't read the rw-FAQ Q6.3. FAQs are useful things! > On Tue, 3 Jun 2003, Gilda Garibotti wrote: > > > I would like to know if it is possible to get printed output while a loop is > > taking place. > > Example: > > for(i in 1:10){ > > print(i) > > some long process > > } > > > > This will print the values of i only after the loop is finished, what I would like > > is to > > see them when the process enters the i-th iteration to keep track of how the > > program is running. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help