Function to clear the console in R and RStudio
I want a function to clear the console in R and RStudio instead of a keyboard function, Can someone tell me any?
You can use the following functions for clearing console in rStudio:
cat("")
cat("")
Both of these functions send CTRL + L to the console which is the keyboard shortcut used to clear the console.