Answers for "clear terminal in R"

0

how to clear r terminal

cls <- function() {
       require(rcom)
       wsh <- comCreateObject("Wscript.Shell")
       comInvoke(wsh, "SendKeys", "14")
       invisible(wsh)
}
cls()
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language