View source: R/extra-websocket.R
read_multilines | R Documentation |
read_multilines
reads one or more lines from
the terminal (in interactive use).
read_multilines(prompt = "")
prompt |
the string printed when prompting the user for input.
Should usually end with a space |
This function repeatedly calls readline
until enough inputs
are provided to reach a successful parse.
This can only be used in an interactive session.
## Not run:
# In an interactive session
read_multilines()
1 + 2 # expect immediate success
read_multilines()
1 +
2 +
3 # expect success here
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.