Persistent Storage and Sharing Shiny Applications

Having made all of those wonderfully intuitive and powerful applications, you are quite naturally going to want to show them off. You may wish to share them with colleagues or members of the worldwide R community. You may wish to share them with individuals in your department or field who, while not R users, can handle a little bit of effort to get an application working. Or you may wish to share them transparently and freely with the whole world by hosting them on a server. Shiny offers quite a lot of approaches to sharing applications, and you'll be glad to hear that even the most complex should not be too taxing, with the right hardware and OS on your server.

In this chapter, we will take a look at the following:

  • Sharing over GitHub
  • An introduction to Git using Git and GitHub within RStudio
  • Sharing applications using Git
  • Sharing using .zip and .tar
  • Shinyapps.io
  • Shiny Server
  • Running Shiny in AWS and Google Cloud
  • Scoping, loading, and reusing data in Shiny applications
  • Temporary data input/output
  • Permanent data functions
  • Databases
  • SQL injection
  • Databases with the pool package

There are a few ways of sharing with R users running the Shiny package within R summarized in the following sections.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset