Hi,
I hope I got your request correctly. This is my implementation:
nPerMin = 1
durationMin = 30
i = 0
while(i < nPerMin * durationMin){
print(runif(1, 0, 1))
i = i + 1
Sys.sleep(60 / nPerMin)
}
The key is the Sys.sleep function which will pause the code for any number of seconds given. I created the code in such a way you can set a variable that specifies how many numbers you like per minute and for how many minutes you like it to go on. Note that this will work only accurately if you use integers.
Hope this helps,
PJ