Displaying 1 result from an estimated 1 matches for "tp3846127p3846127".
2011 Sep 27
1
How to terminate R program if found any execution error
...=try(a/b)
if(class(c)[1]=="try-error")
{
stop("Wrong Input Value")
}
d=c*c
if c fails then it should terminate the process.
Please can anyone help
--
View this message in context: http://r.789695.n4.nabble.com/How-to-terminate-R-program-if-found-any-execution-error-tp3846127p3846127.html
Sent from the R help mailing list archive at Nabble.com.