Re: [R] calling a function with new inputs every 1 minute

2010-06-13 Thread schuster
How about Sys.sleep(60) in a loop from 1 to 500? ?Sys.sleep On Saturday 12 June 2010 08:45:32 pm KstuS wrote: > I have inputs to a function which are changing all the time - I pull these > values from the internet. I then apply a function to the values. What I'd > like to do is automate the

[R] calling a function with new inputs every 1 minute

2010-06-12 Thread KstuS
I have inputs to a function which are changing all the time - I pull these values from the internet. I then apply a function to the values. What I'd like to do is automate the process so it runs every one minute and adds the output of the function as a new element of a vector. Pseudo code: at