R/Shiny widget for jstree with a focus on extensibility and close connection to the javascript library. Most useful for selecting files or browsing directory trees. For a more feature-rich wrapper to jstree, have a look at the library shinyTree.
Creating a widget:
shinyFileTree(system.file(package="shinyFileTree"),
is_directory = TRUE,
plugins = c("checkbox"),
multiple = TRUE,
opts = shinyFileTreeOpts(icons = TRUE)
)
Demo:
shiny::runApp(system.file("shinyapp", package="shinyFileTree"))