dir.choose: Choose a Folder Interactively

View source: R/Dialogs.R

dir.chooseR Documentation

Choose a Folder Interactively

Description

Choose a directory interactively.

Usage

dir.choose(default = "", caption = "Select directory")

Arguments

default

which directory to show initially.

caption

the caption on the selection dialog

Value

A length-one character vector, character NA if 'Cancel' was selected.

Author(s)

Andri Signorell <andri@signorell.net>

See Also

file.choose

Examples

## Not run: 

dir.choose(getwd(), "Choose a suitable folder")

## End(Not run)

AndriSignorell/DescToolsAddIns documentation built on May 15, 2022, 2:13 p.m.