View source: R/Module_FilePathModule.R
FilePathModule | R Documentation |
module to find filepaths for select directory operations, can display just a button or a button with a display of the filepath.
FilePathModule( input, output, session, filepaths = reactive({ .MseekOptions$filePaths }), label = "Select Folder", description = "Select Folder", displayFolder = F, selectFile = F, pattern = "" ) FilePathModuleUI(id)
input |
arguments necessary for use with
|
output |
arguments necessary for use with
|
session |
arguments necessary for use with
|
filepaths |
Named character vector of parent folder locations |
label |
button label |
description |
button description on hover |
displayFolder |
show filepath (boolean) |
selectFile |
if TRUE, will show menu to select files instead of a folder |
pattern |
file pattern, see |
id |
id to be used to define a namespace via |
a reactivevalues object with one element, either files
or dir
,
specifying the selected files or folder
FilePathModule
: server logic
FilePathModuleUI
: UI elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.