run_dash_app: Run Python Dash app

View source: R/launch.R

run_dash_appR Documentation

Run Python Dash app

Description

Helper to run Python Dash app on RStudio Cloud.

Usage

run_dash_app(path_app, venv = NULL, action = c("browse", "view"))

Arguments

path_app

character, path to Python file containing the Dash app.

venv

character or NULL, path to Python virtual environment. If NULL, uses python on system path.

action

character or NULL, action to invoke to before launching app. If NULL, no action. You will have to "refresh" your browser/viewer after a few seconds.

Value

Invisible path_app, called for side effects.

Examples

## Not run: 
  # not run because this function invokes side-effects
  run_dash_app("app,py", venv = "./venv")

## End(Not run)

ijlyttle/rscloud.dash.py documentation built on April 6, 2022, 12:06 a.m.