[R] running functions at fixed times

Jeff Miller jdm at xnet.com
Tue Jan 9 02:50:37 CET 2001


   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list