| Title: | Extra Tools For Server Use |
|---|---|
| Description: | Use tools. |
| Authors: | Sebastien Rochette [aut, cre] (ORCID: <https://orcid.org/0000-0002-1565-9313>), ThinkR [cph] |
| Maintainer: | Sebastien Rochette <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.0.0.9000 |
| Built: | 2026-06-02 07:55:52 UTC |
| Source: | https://github.com/statnmap/servers.tools |
file_explorer
file_explorer( path = getwd(), viewer = getOption(x = "servers.tools.viewer", default = "dialog") )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
## 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)## 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)
List file in subdirectory
listFiles(path, maxDepth = 4, currentDepth = 1)listFiles(path, maxDepth = 4, currentDepth = 1)
path |
path to explore |
maxDepth |
max depth to explore folders |
currentDepth |
opened depth |
Tree list object