uio: User Input/Output

Description Usage Arguments Value

View source: R/utils.R

Description

uio is a wrapper function that provides the ability to interact with the user. If not in interactive mode, this function stops execution as a protective measure.

Usage

1
uio(output, accept = NULL, wait = FALSE)

Arguments

output

is the text displayed (output) tothe user.

accept

list of acceptable responses.

wait

specifies whether or not the script should pause for input. Defaults to FALSE.

Value

TRUE (if wait is FALSE) or value entered by the user.


samuelkordik/esogettr documentation built on Dec. 22, 2021, 10:13 p.m.