file selector server side

fileSelectorServer(input, output, session, root,
  root_name = basename(root), pattern = NULL, multiple = TRUE,
  enable_recent = TRUE, start_recent = TRUE, start_n_recent = 50,
  exclude_recent = NULL, start_sort_desc = TRUE)

Arguments

root

directory

root_name

the root directory name

pattern

regexp file selection pattern

multiple

whether to allow multiple file selection

enable_recent

whether to have a recent tab

start_recent

whether to start on the recent tab

start_n_recent

how many recent items to show at the beginning

exclude_recent

regex what to explude in the recent list (by default nothing is excluded)

start_sort_desc

whether to start sorting in descending order

See also

Other file selection module functions: fileSelectorUI, modalFileSelectorUI