Sharing using .zip and .tar

Probably the next most frictionless method of distributing a Shiny application to R users is by hosting either a .zip or .tar file of your application, either over the web or FTP. You will need somewhere to host the file, and then users can run the application using runUrl(), as follows:

runUrl("http://www.myserver/shinyapps/myshinyapp.zip")  
Note that this URL is not real. You need to replace it with the address of your own file.

Of course, you can distribute a .zip file any way you like—your users need to only unzip and then use runApp() from within the directory, just as you do when testing the application. You can email the file and distribute it on a USB drive for any method that you choose. The disadvantages ...

Get Web Application Development with R Using Shiny - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.