prompt_file: Choose a single file

Description Usage Arguments Details Examples

Description

Prompt a user to choose a single file.

Usage

1

Arguments

prompt

String. Message to guide user.

...

Further arguments passed to file.choose

Details

This is an alias for file.choose that messages the user with a prompt to guide them on what they should be choosing.

Examples

1
2
3
4
## Not run: 
  prompt_file('Please select a file')

## End(Not run)

EricEdwardBryant/prompt documentation built on May 6, 2019, 4:02 p.m.