Use tryCatch skip to next value of loop upon error?
The key to using tryCatch is realising that it returns an object. If there was an error inside the tryCatch then this object will inherit from class error. You can test for class inheritance with the function inherit. x <- tryCatch(stop(“Error”), error = function(e) e) class(x) “simpleError” “error” “condition” Edit: What is the meaning of … Read more