The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

shinyShortcut

Travis Build Status AppVeyor Build Status codecov

Overview

This package allows users to create a shortcut for their shiny app that, when run, will launch the app directly in the user’s default browser. No need to navigate to the correct working directory in R (or even to open R at all!). Simply run the shortcut and the app will fire up. Works for both windows and linux based systems.

Inspired by this blog post by Mark Sellors at Mango Solutions.

Installation

# Package not yet on CRAN, needs installed from Github:
# install.packages("devtools")
devtools::install_github("ewan-keith/shinyShortcut")

Usage

The package loads just a single function, also named shinyShortcut(). It takes three arguments:

The function writes an exectuable script (.vbs on windows and .desktop on unix) in to the app’s home directory. Shortcuts to this file can then be created elsewhere on the user’s system. The function also creates a new directory /.shiny_run into which is written the raw batch or bash script (Windows and unix respectively) that runs the shiny app.

When the shinyDirectory is the current working directory then the default arguments are sufficient.

library(shinyShortcut)

shinyShortcut()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.