Skip to content
Prev 394100 / 398500 Next

aborting the execution of a script...

On 12/04/2023 7:03 a.m., akshay kulkarni wrote:
I don't see this behaviour.  If I put this in a script:

  print(1)
  stop("here")
  print(2)

then execution stops at the "stop" line if I use source(), or R CMD 
BATCH <file>, or in RStudio, Run or Source gives the same behaviour.  I 
think older versions of RStudio would have run all three lines using 
Run, but all the other methods have stopped at the stop() line.

Duncan Murdoch