choose_directory: Choose directory

Description Usage Arguments See Also

View source: R/choose_directory.R

Description

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.

Usage

1
2
choose_directory(initial_dir = getwd(),
  method = select_directory_method(), title = NULL)

Arguments

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

See Also

select_directory_method()


matiasandina/choices documentation built on Dec. 23, 2020, 3:47 a.m.