trelliscope (version 0.9.7)

deployVDB: Deploy VDB to shinyapps.io or RStudio Connect

Description

Deploy VDB to shinyapps.io or RStudio Connect

Usage

deployVDB(vdbConn = getOption("vdbConn"), appName = NULL, account = NULL, redeploy = TRUE, size = NULL, instances = NULL, quiet = FALSE)

Arguments

vdbConn
A vdbConn object containing the VDB connection settings
appName
name of application (app will be available at https://[account].shinyapps.io/[appName]/ or at https://beta.rstudioconnect.com/[account]/[appName] if using RStudio connect) - if not supplied, will use the name of VDB connection
account
passed to rsconnect::configureApp
redeploy
passed to rsconnect::configureApp
size
passed to rsconnect::configureApp
instances
passed to rsconnect::configureApp
quiet
passed to rsconnect::configureApp

Details

If you do not have a shinyapps.io account and have not set your account info, first visit here prior to calling this function: http://shiny.rstudio.com/articles/shinyapps.html.

syncLocalData

Examples

Run this code
## Not run: 
# 
# library(ggplot2)
# 
# vdbConn(tempfile(), autoYes = TRUE)
# 
# # make a simple display
# d <- divide(iris, by = "Species")
# makeDisplay(d, name = "sl_vs_sw",
#   panelFn = function(x)
#     qplot(Sepal.Width, Sepal.Length, data = x))
# 
# # add additional displays...
# 
# # assuming an account has already been configured with shinyapps.io
# # or RStudio Connect
# deployVDB(appName = "deployVDB-example")
# ## End(Not run)

Run the code above in your browser using DataLab