Stopping code execution only stops a single line

So say I have a script with multiple lines, which I manually highlight and hit Ctrl + Enter to execute. As far as I recall, it was once the case that if I pressed stop at line 3, say, all code execution for further lines would stop. Now when I press stop, it skips the currenty executing line, but carries on executing the rest of the script.

Is this a setting which has gotten changed, or has the way the stop button works changed in newer Rstudio versions? Or have I just imagined that things ever worked the way I wanted in the first place?


For Stop execution which key u press?

Either the red stop icon above the terminal, or Esc. Both seem to produce the same result.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.