Description Usage Arguments Details Examples
View source: R/shinyShortcut.R
Creates an executable file that, when ran, will open the co-located shiny app using the user's default internet browser.
| 1 2 | shinyShortcut(shinyDirectory = getwd(), OS = .Platform$OS.type,
  gitIgnore = FALSE)
 | 
| shinyDirectory | The top-level directory containing the code and materials for the shiny application. Also where the final shortcut file will be saved. | 
| OS | The operating system that R is being ran on. Must be one of
 | 
| gitIgnore | If True then all produced files will be added to a
 | 
Calling shinyShortcut will write an executable file
that will run the shiny app in the user's default browser.
This executable is stored in a created folder named  .shiny_run'
whilst a shortcut that will silently run the executable
is saved in the home directory as 'shinyShortcut' (this will
be a .vbs script on windows or a .desktop file on unix systems).
These files can then be linked to from other locations such as the
user's desktop.
| 1 | 
* Writing .shiny_run/shinyShortcut.r
sh: 1: chmod: Permission denied
* Writing shinyShortcut.desktop
sh: 1: chmod: Permission denied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.