R/clc.R

Defines functions clc

Documented in clc

#' Function to clear the R console.
#' 
#' @seealso \url{http://stackoverflow.com/questions/14260340/function-to-clear-the-console-in-r}{stackoverflow.com}
#' 
#' @author Stuart K. Grange
#' 
#' @examples 
#' \dontrun{
#' # Clear console
#' clc()
#' 
#' # Or without loading package
#' threadr::clc()
#' 
#' }
#' 
#' @export
clc <- function() cat("\014")
skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.