How do I stop the R function if it runs for more than 30 minutes?
I am testing my code with several methods.
If any method / function, say, glm()
takes more than 30 minutes, I want to kill that function and move on to the next one without interrupting my R session.
In other words, is there a way to set a time limit on the R function and move on to the next step?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: