Skip to content
Prev 8810 / 398502 Next

running functions at fixed times

Is there an easy way to automatically run an R function at fixed
intervals of time?

    For example, if I have a file,  mydata.txt, which is updated every
minute or so,
    is there an R or an S function which would execute the command

    mydata <- read.table("mydata.txt")

    each minute?  Basically I just want "mydata" to be constantly updated
without
    my having to bother with it.

    Thanks in advance,

        Jeff Miller


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._