title: How to forcefully exit a multi-line command in R
body: <p>I accidentally entered an incomplete command into my R session.</p>
  
  <p><code>boxplot(logminutevol~dmnckad, main=Dominick's Ad)</code></p>
  
  <p>R now thinks everything I enter is part of a multi-line command. I tried typing several lines to force an error but R just gives me more lines to type. I also can't save the session to restart because R think's I'm in the middle of a command. How do I forcefully exit this multi-line command mode without losing my workspace?</p>