clear {cursr} | R Documentation |
Clear text from the terminal. Passing values "start"
or "end"
allow the user to clear specific portions of the screen relative to the cursor.
clear(x = c("screen", "end", "start"), ...)
x |
character describing console location to clear. The default, |
... |
objects passed to/from methods |
NULL
clear()
cat(paste(LETTERS[1:10], collapse="\n"))
clear("start")
clear("end")