R console multi-line commands

Sometimes I run R console in the terminal. I have multiple environments that I manage with conda. Two of them have R 4.0.3. In one, I can paste multi-line text and it gets executed one line at a time:

> message("a")
a
> message("s")
s
> stop("stop")
Error: stop
> message("d")
d

In another environment, they seem to get executed as one statement, so if there is a problem with one of the commands, it stops there.

> message("a")
message("s")
stop("stop")
message("d")
a
s
Error: stop

Is there a proper term for this behavior? Can I activate/deactivate it somehow?