Clear text from the terminal. Passing values "start" or "end" allow the user to clear specific portions of the screen relative to the cursor.
Usage
clear(x = c("screen", "end", "start"), ...)
Arguments
x
character describing console location to clear. The default, "screen", clears the entire screen; "start" clears all text from the beginning of the screen until the cursor's position; "end" clears all text from the cursor's position to the bottom of the screen.