Description Usage Arguments See Also
View source: R/choose_directory.R
This function allows the user to choose a directory interactively. It has been tested on Windows, Ubuntu and macOS. The gist comes from this question.
1 2 | choose_directory(initial_dir = getwd(),
method = select_directory_method(), title = NULL)
|
initial_dir |
Path to folder from which to display dialog. Default is to use current working directory. |
method |
Package to be used to construct the GUI. See 'select_directory_method()' |
title |
Character, title of the vector |
select_directory_method()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.