readLines(con, n, ok)
stdin.
-1, indicating
to read to the end of the file.
T. If
readLines reaches the end of the file
before
n lines are read, and
ok
is
F, an error is generated.
If output buffering is off, and
con is set to
stdin
, in Windows, you will see a prompt at
the beginning of each input line. If output buffering is on, you see no prompts.
readLines(n=3) # input three lines here.