[R] Error trapping in R

Bernard Comcast mcg@rvey@bern@rd @end|ng |rom comc@@t@net
Wed Feb 27 21:55:27 CET 2019


What is the recommended way to trap errors in R? My main need is to be able to trap an error and then skip a section of code if an error has occurred. In VB for Excel I used the “On Error goto  .....” construct to do this.

Bernard
Sent from my iPhone so please excuse the spelling!"


More information about the R-help mailing list