Clears the console so that you can start the next step of coding with a fresh screen. Has no arguments.

clear_console()

Examples

cat(rep("This is a line. \n", 50)) # print some text to clear
#> This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
#>  This is a line. 
clear_console()
#>