Portable Browser Issues when deploying R Shiny App Portable Browser Issues when deploying R Shiny App windows windows

Portable Browser Issues when deploying R Shiny App


I started with those same articles, but developed the RInno package to solve this exact problem, i.e. when you want to share your desktop Shiny app with non-technical users who can't be expected to mess around with all those details.

To get started:

install.packages("RInno")require(RInno)RInno::install_inno()

Then you just need to call two functions to create an installation framework:

create_app(app_name = "myapp", app_dir = "path/to/myapp")compile_iss()

This will create an installation wizard that runs like any other program, but installs your shiny app on a Windows desktop computer. If you would like to include R for your co-workers who don't have it installed, add include_R = TRUE to create_app:

create_app(app_name = "myapp", app_dir = "path/to/myapp", include_R = TRUE)

It defaults to include shiny, magrittr and jsonlite, so if you are using other packages like ggplot2 or plotly, just add them to the pkgs argument. You can also include GitHub packages to the remotes argument:

create_app(    app_name = "myapp",     app_dir  = "path/to/myapp"    pkgs     = c("shiny", "jsonlite", "magrittr", "plotly", "ggplot2"),    remotes  = c("talgalili/installr", "daattali/shinyjs"))

If you are interested in other features, check out FI Labs - RInno