Description Usage Arguments Value Examples
View source: R/file_explorer.R
file_explorer
1 2 3 4 | file_explorer(
path = getwd(),
viewer = getOption(x = "servers.tools.viewer", default = "dialog")
)
|
path |
Custom path accessible by default |
viewer |
Where to display the gadget: |
UI gadget
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(shiny)
library(shinyFiles)
library(shinyTree)
# shinyFiles::shinyFilesExample()
file_explorer()
# Use with custom path
cat("test", file = tempfile("custom", fileext = ".R"))
file_explorer(path = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.