file.browse {utilitiesR}R Documentation

Text-based interactive file selection.

Description

Text-based interactive file selection.

Usage

  file.browse(root = getwd(), multiple = FALSE,
    title = sprintf("Select file(s) (0 to quit) in folder %s", root))

Arguments

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.

Value

character vector of selected files.

See Also

dir.browse for a similar functionality for directories.

Other file: createFilename, dir.browse, getExtension, getFilename, getUniqueFilename, makeIfNotExists

Examples

## Not run: 
fileList <- file.browse()

## End(Not run)

[Package utilitiesR version 1.7 Index]