file.browse {utilitiesR} | R Documentation |
Text-based interactive file selection.
file.browse(root = getwd(), multiple = FALSE, title = sprintf("Select file(s) (0 to quit) in folder %s", root))
root |
the root directory to explore (default current working directory) |
multiple |
boolean specifying whether to allow multiple files to be selected |
title |
what gets printed before the menu. |
character vector of selected files.
dir.browse
for a similar functionality for
directories.
Other ui: dir.browse
,
Filters
, gui.dir.choose
,
gui.file.choose
, gui.menu
,
gui.readline
, gui.yesno
,
tk_entry.dialog
,
tk_select.list
## Not run: fileList <- file.browse() ## End(Not run)