Learn R Programming

radiant.data (version 1.4.5)

choose_files: Choose files interactively

Description

Choose files interactively

Usage

choose_files(...)

Value

Vector of paths to files selected by the user

Arguments

...

Strings used to indicate which file types should be available for selection (e.g., "csv" or "pdf")

Details

Open a file dialog. Uses JavaScript on Mac, utils::choose.files on Windows, and file.choose() on Linux

Examples

Run this code
if (FALSE) {
choose_files("pdf", "csv")
}

Run the code above in your browser using DataLab