Answers for "how to clear r terminal"

0

how to clear r terminal

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

Browse Popular Code Answers by Language