| ie_explore_continuous_flow | R Documentation |
Focused apps for exploring an already-read ir_isofiles object one measurement
type at a time: ie_explore_continuous_flow() / ie_explore_dual_inlet() /
ie_explore_scans() each show that type's file-selector sidebar + plot, and
ie_explore_metadata() shows just the selector table. The generated example
code (navbar Show code) refers to the object by its variable_name.
These take a fixed object only – for upload / folder monitoring / load-examples
use ie_create_isofiles_server().
ie_explore_continuous_flow(
isofiles,
timezone = Sys.timezone(),
options = list(),
uiPattern = "/",
enableBookmarking = "url",
default_theme = app_themes(),
initial_selection = FALSE,
variable_name = NULL,
detached = TRUE,
launch = TRUE,
log_level = "WARN"
)
ie_explore_dual_inlet(
isofiles,
timezone = Sys.timezone(),
options = list(),
uiPattern = "/",
enableBookmarking = "url",
default_theme = app_themes(),
initial_selection = FALSE,
variable_name = NULL,
detached = TRUE,
launch = TRUE,
log_level = "WARN"
)
ie_explore_scans(
isofiles,
timezone = Sys.timezone(),
options = list(),
uiPattern = "/",
enableBookmarking = "url",
default_theme = app_themes(),
initial_selection = FALSE,
variable_name = NULL,
detached = TRUE,
launch = TRUE,
log_level = "WARN"
)
ie_explore_metadata(
isofiles,
timezone = Sys.timezone(),
options = list(),
uiPattern = "/",
enableBookmarking = "url",
default_theme = app_themes(),
initial_selection = FALSE,
variable_name = NULL,
detached = TRUE,
launch = TRUE,
log_level = "WARN"
)
isofiles |
the |
timezone |
timezone for datetime display |
options |
Named options that should be passed to the |
uiPattern |
A regular expression that will be applied to each |
enableBookmarking |
Can be one of |
default_theme |
default bslib Bootstrap 5 theme preset |
initial_selection |
what is selected on load, as a |
variable_name |
the name used for the object in the generated example code.
Defaults to the deparsed expression you passed (so |
detached |
if |
launch |
only relevant when |
log_level |
how verbosely the app logs; see |
By default the app runs detached in a separate R process (see detached),
so the calling session is not blocked, and it refuses to launch while a document
is being rendered (knitr / Quarto), showing a message to run it interactively.
These are thin wrappers over ie_run_app(), which manages detached / launch.
the value of ie_run_app() for the chosen detached / launch: the
callr::r_bg() process (detached), the shiny::runApp() result (in-session
launch), or the shiny::shinyApp() object (launch = FALSE).
ie_explore_dual_inlet(): focused app for the dual inlet plot.
ie_explore_scans(): focused app for the scans plot.
ie_explore_metadata(): focused app showing just the scans
metadata selector table (handy for browsing/testing the selector).
if (interactive()) {
# read the bundled isoreader2 examples (a mixed set of all types); each
# explorer filters the object to its own measurement type
iso <-
isoreader2::ir_examples_folder() |>
isoreader2::ir_find_isofiles() |>
isoreader2::ir_read_isofiles()
# each focused explorer opens the object in a detached browser app
ie_explore_continuous_flow(iso)
ie_explore_dual_inlet(iso)
ie_explore_scans(iso)
ie_explore_metadata(iso) # just the selector table
# preselect some files and run blocking in the current session instead
ie_explore_continuous_flow(
iso,
initial_selection = grepl("gc", file_name),
detached = FALSE
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.