Description Usage Arguments Value
Server logic that reacts to user input such as updating the current selected file path. This function must be called within a Shiny server function
1 2 3 | selectFile(id, fileLocation = c(C_FILE_LOCATION_LOCAL,
C_FILE_LOCATION_SERVER, C_FILE_LOCATION_BOTH),
serverRootDirectories = NULL)
|
id |
The same ID as used in the matching call to fileSelectWidget |
fileLocation |
a parameter indicates where you want ther users to navigate the files. |
serverRootDirectories |
the root directories that your app users are allowed to navigate and it must be a named vector. |
the selected file path as a reactive value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.