rchoose.files: Choose a list of files interactively

Description Usage Arguments Value Author(s) See Also Examples

Description

Provides the same functionality as choose.files from the utils package for Windows, but is intended to be system independent.

Usage

1
2
3
  rchoose.files(default = getwd(),
    caption = "Select files", multi = TRUE,
    filters = getDefaultFilters(), index = nrow(filters))

Arguments

default

Which filename or directory to show initially. Default is current work directory.

caption

The caption on the file selection dialog

multi

Whether to allow multiple files to be selected

filters

A matrix of filename filters. If NULL, all files are shown. Default is filters=getDefaultFilters().

index

Which row of filters to use by default.

Value

A character vector giving zero or more file paths. If user cancels operation, character(0) is returned.

Author(s)

Alex Lisovich, Roger Day

See Also

getDefaultFilters, jchoose.files, tkchoose.files, canUseJava, canUseTclTk

Examples

1
2
3
4
## Not run: 
rchoose.files();

## End(Not run)


Search within the rChoiceDialogs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.