Thanks a bunch, it works.
On Thu, Jul 1, 2010 at 4:50 PM, Nikhil Kaza wrote:
> explicit call to print usually works for me.
>
> library(audio)
> for (i in 1:5){
> wait(60)
> print(Sys.time())
> }
>
>
> On Jul 1, 2010, at 4:30 PM, Matt Shotwell wrote:
>
> Try to flush output after printing:
>
> c
explicit call to print usually works for me.
library(audio)
for (i in 1:5){
wait(60)
print(Sys.time())
}
On Jul 1, 2010, at 4:30 PM, Matt Shotwell wrote:
> Try to flush output after printing:
>
> cat(paste(Sys.time()),"\n"); flush(stdout())
>
> On Thu, 2010-07-01 at 16:1
Try to flush output after printing:
cat(paste(Sys.time()),"\n"); flush(stdout())
On Thu, 2010-07-01 at 16:17 -0400, Jack Luo wrote:
> Hi,
>
> I am doing some computation which is pretty time consuming, I want R to
> display CPU time after each iteration using the command Sys.time(). However,
> I
Hi,
I am doing some computation which is pretty time consuming, I want R to
display CPU time after each iteration using the command Sys.time(). However,
I found that the code only began to display the CPU time after quite a while
and several iterations have finished. Is there a way to ask R to dis
4 matches
Mail list logo