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
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
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
3 matches
Mail list logo