Answers for "R terminal command to clear console"

1

r clear console

cat("14")
Posted by: Guest on September-09-2020
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