r - ENVVARS for Shiny Appshot -
i'm trying take snapshot of shiny app using webshot user can pre-set input variables. think appshot within webshot package can this...it says envvars argument should :
"a named character vector or named list of environment variables , values set shiny app’s r process. these unset after process exits. can used pass configuration information shiny app"
basically want this:
appdir <- system.file("examples", "01_hello", package="shiny") names = list(bins = 7) appshot(appdir, "picture.png",envvars = names)
but doesn't have desired result. should syntax of envvars change desired # of bins 7?