Description Usage Arguments Value See Also Examples
Reads in all *.rds
or *.RDS
files from the first non-empty directory in pathes
and extracts the variables. Each file must contain one data frame only.
The widget must be used together with widgetVariables
.
1 2 3 4 | widgetDataset(inputId, pattern = c("^[[:alnum:]]+.rds$",
"^[[:alnum:]]+.RDS$"), pathes = c(".", find.package("mmstat")),
duplicates.ok = FALSE, datasettype = is.data.frame, data = list(),
lang = NULL)
|
inputId |
character: widget name |
pattern |
character: a regular expression. Only file names which match the regular
expression will be read (default: |
pathes |
character: directories to read data files from (default: |
duplicates.ok |
logical: can variables be in a selection be used more than once? (default: FALSE) |
datasettype |
logical function: should data set used? (default: |
data |
list: |
lang |
widget: language widget (or NULL) |
a widget object (environment)
selectInput
, sliderInput
, widgetVariables
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.