On Fri, 5 May 2006, Berton Gunter wrote: > ?try > > as in > > result<- try (some R expression...) > if (inherits(result,'try-error')) ...do something > else ...do something else Or tryCatch(), as described in the FAQ -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle