Learn R Programming

radiant.data (version 1.0.6)

choose_dir: Choose a directory interactively

Description

Choose a directory interactively

Usage

choose_dir(...)

Arguments

...

Arguments passed to utils::choose.dir on Windows

Value

Path to the directory selected by the user

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
# NOT RUN {
choose_dir()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab