rchoose.dir: Choose directory interactively

View source: R/rFileChooser.R

rchoose.dirR Documentation

Choose directory interactively

Description

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

Usage

  rchoose.dir(default = getwd(),
    caption = "Select Directory")

Arguments

default

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

caption

The caption on the file selection dialog

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

## Not run: 
rchoose.dir();

## End(Not run)

rChoiceDialogs documentation built on June 24, 2022, 5:06 p.m.