title: includeHTML for shiny, shinyApps.IO and Dropbox
body: <p>Good evening,</p>
  
  <p>Quick question, related to an R/shiny app, hosted on shinyApps.IO.</p>
  
  <p>I'd like to have an HTML file residing on my Dropbox account, and include it into a shiny app using includeHTML. The main reason for doing that is that I have a process for my local machine to update the HTML file (which is generated using knitr), and if I could access it from shinyApps.IO, I would not have to upload it every time it is updated.</p>
  
  <p>Now, an RData file on Dropbox can be read in using the following sequence of commands:</p>
  
  <pre><code>load("my_dropbox_credentials.rdata") # assume that file exists
  file.InputData &lt;- "https://www.dropbox.com/s/SOMEDROPBOXCODE?dl=0"
  data.input     &lt;- (GET(url = file.InputData))
  load(rawConnection(data.input$content))
  </code></pre>
  
  <p>This loads an RData data file from Dropbox, and it works on shinyApps.IO as well.</p>
  
  <p>Now, suppose I would like to do the same thing for an HTML file, which would then be displayed using includeHTML in a shiny app. Does anyone know how to accomplish this?</p>
  
  <p>Any advice would be appreciated,</p>
  
  <p>Philipp</p>