Learn R Programming

radiant.data (version 1.4.5)

choose_dir: Choose a directory interactively

Description

Choose a directory interactively

Usage

choose_dir(...)

Value

Path to the directory selected by the user

Arguments

...

Arguments passed to utils::choose.dir on Windows

Details

Open a file dialog to select a directory. Uses JavaScript on Mac, utils::choose.dir on Windows, and dirname(file.choose()) on Linux

Examples

Run this code
if (FALSE) {
choose_dir()
}

Run the code above in your browser using DataLab