Saturday, November 7, 2020

tryCatch example in R

 

   tryCatch( info <- getMeta(lat = metaTb$Lat[i], lon = metaTb$Long_[i], plot=FALSE),   

       error=function(e)  {

         print( paste( "*** tryCaught error:", metaTb[i, ]) )

       } 

    )

    print(i)



No comments:

Post a Comment