getFileFolderPath: Show dialogs to select files or folders

Description Usage Arguments Value

View source: R/Project.R

Description

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.

Usage

1
getFileFolderPath(type = "dir", caption = "", extension = "", new_flag = FALSE)

Arguments

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

Value

path to the selected file or directory


plethem documentation built on Nov. 8, 2020, 4:35 p.m.