search for: tp3218808p3436704

Displaying 1 result from an estimated 1 matches for "tp3218808p3436704".

2011 Jan 15
4
How to *completely* stop a script after stop()?
Dear expeRts, is there a neat way to *completely* stop a script after an error occured? For example, consider the following script: ## ==== file.R ==== for(i in 1:10){ print(i) if(i == 5) stop("i == 5") } for(i in 11:100) print(i) ## ================ stop() behaves like it should namely to stop the execution of the *current* expression, but I was wondering if it is possible to