[R] why not to enclose in 'try' everything?

Vladimir Eremeev wl2776 at gmail.com
Tue Jan 23 10:04:31 CET 2007


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.



More information about the R-help mailing list