for (f in list.files('R', '.R$', full.names = TRUE)) source(f)
load('R/sysdata.rda')
args <- commandArgs(trailingOnly = TRUE)
project_name <- args[1]
is_example <- project_name == 'example'
if (project_name == 'private') project_name <- Sys.getenv('SHINYPROXY_USERNAME')
logout_url <- sprintf('https://%s/logout', args[2])
message('project_name: ', project_name)
message('is_example: ', is_example)
message('logout_url: ', logout_url)
# where to download/load drug and reference data from dseqr.data
Sys.setenv('DSEQR_DATA_PATH' = '/srv/dseqr/.data')
run_dseqr(project_name,
logout_url = logout_url,
is_example = is_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.