Reading an RData file into Shiny Application
<p>I am working on a shiny app that will read a few RData files in and show tables with the contents. These files are generated by scripts that eventually turns the data into a data frame. They are then saved using the save() function. </p>

<p>Within the shiny application I have three files:</p>

<p>ui.R, server.R, and global.R</p>

<p>I want the files to be read on an interval so they are updated when the files are updated, thus I am using:</p>

<pre><code>reactiveFileReader() 
</code></pre>

<p>I have followed a few of the instructions I have found online, but I keep getting an error "Error: missing value where TRUE/FALSE is needed". I have tried to simplify this so I am not using:</p>

<pre><code>reactiveFileReader() 
</code></pre>

<p>functionality and simply loading the file in the server.R (also tried in the global.R file). Again, the </p>

<pre><code>load()
</code></pre>

<p>statement is reading in a data frame. I had this working at one point by loading in the file, then assigning the file to a variable and doing an "as.data.table", but that shouldn't matter, this should read in a data frame format just fine. I think this is a scoping issue, but I am not sure. Any help? My code is at:</p>

<p><a href="http://pastebin.com/V01Uw0se" rel="nofollow">http://pastebin.com/V01Uw0se</a></p>

<p>Thanks so much!</p>