Description Usage Value Examples
View source: R/interact-program.R
A simple function to read line by line from R console input. Note that leading and trailing white spaces are trimed.
1 |
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.
1 2 3 4 | ## Not run:
input <- read_cmd()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.