-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There may be a way to launch shiny gadgets on a separate thread using callr.
This launches a background R process that seems to be doing something, but I can't find a shiny app anywhere in sight when I hit 127.0.0.1:PORT (7575 here) when I specify the port via global option:
options("shiny.port" = 7575)
efds <- FacileData::exampleFacileDataSet()
dge <- efds %>%
FacileData::filter_samples(indication == "BLCA") %>%
flm_def(covariate = "sample_type", numer = "tumor", denom = "normal") %>%
fdge(mdef, method = "voom")
bg3 <- callr::r_bg(
shine,
list(dge, viewer = "browser"),
stdout = "/Users/lianoglou/tmp/log.txt")Resources
- Someone asked how to do something like this, but using the RStudio Jobs pane was the solution provided, but using callr was suggested as an alternative
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request