fileChooserUI: A formatted file input using shinyFiles The format is based...

View source: R/mod_shinyFiles.R

fileChooserUIR Documentation

A formatted file input using shinyFiles The format is based on AdminLTE v2 (shinydashboard)

Description

A formatted file input using shinyFiles The format is based on AdminLTE v2 (shinydashboard)

Usage

fileChooserUI(
  id,
  label,
  title,
  multiple = TRUE,
  filetypes = NULL,
  pattern = NULL
)

Arguments

id

Module id.

label

The button label.

title

The browser window title.

multiple

A logical indicating whether or not it should be possible to select multiple files

filetypes

A character vector of file extensions (without dot in front i.e. 'txt' not '.txt') to include in the output. Use the empty string to include files with no extension. If not set all file types will be included

pattern

A regular expression used to select files to show. See base::grepl() for additional discussion on how to construct a regular expression (e.g., "log.*\.txt")


Frederic-gci/shiny4oracle documentation built on April 16, 2022, 3:07 p.m.