dir.choose {DescToolsAddIns}R 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)

[Package DescToolsAddIns version 1.9 Index]