Skip to content

How to print output during for loops?

1 message · Rau, Roland

#
Hi,

 > -----Original Message-----
yes, should be possible:
for (i in 1:5) {
	print(i)
}

It might also help (assuming you work on MS Windows using RGui.exe) to
disable "buffered output" by pressing "CTRL+W". As you can see when
clicking on "Misc" in the toolbar, the default setting is "buffered
output". 

I hope this helps,
Roland

+++++
This mail has been sent through the MPI for Demographic Rese...{{dropped}}