inst/ex_fun/sb_fun_demo_app_python.R

wrapper_py <- function(vect) {
  require(reticulate)
  
  env <- py_run_file(system.file("/ex_fun/sb_fun_demo_app_python.py", package = "shinybatch")) ;
  env$apply_regexprs(vect = vect,
                     regexprs = reticulate::dict(list("input" = "output")))
}

Try the shinybatch package in your browser

Any scripts or data that you put into this service are public.

shinybatch documentation built on June 30, 2021, 9:06 a.m.