cmd_input: Read multiple lines of input from prompt

Description Usage Value Examples

View source: R/interact-program.R

Description

A simple function to read line by line from R console input. Note that leading and trailing white spaces are trimed.

Usage

1

Value

Returns a character vector with length equal to the total number of input lines. Each element of the vector corresponds to 1 line of input value.

Examples

1
2
3
4
## Not run: 
input <- read_cmd()

## End(Not run)

deeplexR/lexicoR documentation built on May 26, 2019, 2:33 a.m.