title: R Shiny: reload a .Rda file within shiny at a special time of the day
body: <p>I wrote a shiny script which loads a Rda-File just at the initial execution. This Rda-file gets updated by an external process. How can I reload the Rda file when it was changed or how can I relaod the .Rda file at a special time, for instance every day at 6 am.</p>
  
  <p>I guess I can use the <code>reactiveTimer</code> function and if-clause with <code>Sys.time()</code>, but I don't know how.</p>
  
  <p>Thanks a lot for your ideas.</p>
  
  <p>update, thanks to @jdharrison: </p>
  
  <p>I tried the function <code>reactiveFileReader</code> and my server.R Skript looks like this:</p>
  
  <pre><code>fileData &lt;- reactiveFileReader(10000, session = NULL, filePath = "../data/myData.Rda", load)
   shinyServer(function(input, output, session) {
     output$mytable &lt;- renderDataTable({
       fileData()
       myData # this is the name of the R-Object I loaded
     })
   })
  </code></pre>
  
  <p>Unfortunately I always get the error message : mydata not found</p>
  
  <p>How can I use the data which loaded with the <code>reactiveFileReader</code> function?</p>