Re: [R] immediate print

2008-02-08 Thread John Kane
Well you can put it within the loop but then it prints 1,000,000 times. --- "Waterman, DG (David)" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have a function containing a loop that takes some > time to complete. > Before I enter the loop I want to print a text > string to the screen > expla

Re: [R] immediate print

2008-02-05 Thread Christos Hatzis
Introduce cat(j) flush.console() in your loop. -Christos > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Waterman, > DG (David) > Sent: Tuesday, February 05, 2008 11:20 AM > To: r-help@r-project.org > Subject: [R] im

[R] immediate print

2008-02-05 Thread Waterman, DG (David)
Hi everyone, I have a function containing a loop that takes some time to complete. Before I enter the loop I want to print a text string to the screen explaining what is being calculated, however, I find that the information is not printed until the function exits. Is there a way of immediately p