Description Usage Arguments Details Value See Also Examples
readline
reads a line from the terminal (in interactive use).
1 |
prompt |
the string printed when prompting the user for input.
Should usually end with a space |
The prompt string will be truncated to a maximum allowed length, normally 256 chars (but can be changed in the source code).
This can only be used in an interactive session.
A character vector of length one. Both leading and trailing spaces and tabs are stripped from the result.
In non-interactive use the result is as if the response was
RETURN and the value is ""
.
readLines
for reading text lines from connections,
including files.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.