I'm curious if there is a way to empty the console in R and, more specifically, RStudio. Instead of a keyboard shortcut, I'm seeking for a function that I can write into the console.
In this 2010 StackExchange post, someone has already supplied such a function. Unfortunately, because this is reliant on the RCom package, it will not work on Mac OS X.