Wu Gong wrote: > So, try() inside loop should work. Like > > for (....) { > if (class(try(...,silent=T))=="try-error") result[[i]] <- NA > ... > } Thanks a lot, it worked for me! Cheers Olga