Does anyone know how to stop program execution without exiting the R console? I could just call q("no")
but am actually looking for something similar to a throws statement to stop the execution, but leave the console active. Return?
You can use the stop function:
stop()