Description Usage Arguments Value
The function shows the dialog to select files or folders. The functions change depending on the OS in which RStudio is running. It is only called internally and should not be run by the user.
1 | getFileFolderPath(type = "dir", caption = "", extension = "", new_flag = FALSE)
|
type |
Type of document to get a path for. dir for directory or file for file |
caption |
Caption to display for choose file/directory modal |
extension |
extensions to display for selecting file type |
new_flag |
Logical value for the "new" parameter in file.choose. Only used on MacOS |
path to the selected file or directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.