Re: [R] cat function within a loop

2004-10-05 Thread Prof Brian Ripley
If perchance you are using Windows (and specifically Rgui) and not telling us (as the posting guide asks you to), do read the rw-FAQ Q6.3 (as the posting guide also asks you to). On Tue, 5 Oct 2004, Tatsuki Koyama wrote: > I have a 'cat' function within a for loop. > I would like it to print ou

Re: [R] cat function within a loop

2004-10-05 Thread Dimitris Rizopoulos
/337015 Web: http://www.med.kuleuven.ac.be/biostat/ http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm - Original Message - From: "Tatsuki Koyama" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 05, 2004 4:48 PM Subject: [R] cat function wi

Re: [R] cat function within a loop

2004-10-05 Thread Uwe Ligges
Tatsuki Koyama wrote: I have a 'cat' function within a for loop. I would like it to print out the result everytime it goes through the for loop so that I can monitor the progress, but it only prints out (execute the cat function) once at the very end of the for loop. A simple example: for(i in 1:10

Re: [R] cat function within a loop

2004-10-05 Thread Sundar Dorai-Raj
Tatsuki Koyama wrote: I have a 'cat' function within a for loop. I would like it to print out the result everytime it goes through the for loop so that I can monitor the progress, but it only prints out (execute the cat function) once at the very end of the for loop. A simple example: for(i in 1:1

[R] cat function within a loop

2004-10-05 Thread Tatsuki Koyama
I have a 'cat' function within a for loop. I would like it to print out the result everytime it goes through the for loop so that I can monitor the progress, but it only prints out (execute the cat function) once at the very end of the for loop. A simple example: for(i in 1:10){ cat(i,