What is a command I can use or a keyboard shortcut equivalent to pressing the little broom button in the History pane of RStudio which clears out the entire history buffer in the current session?
Note that I don't mean Ctrl+ L which clears the console window, I mean clearing history which is accessed by pressing the up-arrow in the console and is viewed in the History pane.
Also, note that this question is taken from this StackOverflow question. I was not satisfied with the answers.