title: How can I interrupt a running code in R with a keyboard command?
body: <p>Can anyone tell how can I interrupt a running script in R? </p>
  
  <p>Let's say I have an infinite loop or some other problem, and I want to stop the script from running. Is there a keyboard command that does that?</p>
  
  <p>If it helps any, in Python it is Ctrl + c. I tried that in R, and it didn't work :).</p>
  
  <p>I did some search for this seemingly simple question, but could not find the answer.</p>
  
  <p>Thanks in advance.</p>