fit<-NULL try ( { fit <- lm(y~x, data = data_fitting) coeffs <- as.list(coef(fit)) ## other subsequent processes }, silent =TRUE) -- View this message in context: http://www.nabble.com/Re%3A--R--Query-about-using-try-block-tf3060494.html#a8517796 Sent from the R help mailing list archive at Nabble.com.