Re: [R] Is it possible to coerce R to continue proceeding the next command in a loop after an error message ?

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Mon 18 Jul 2005 - 16:42:40 EST

Yimeng Lu <yl2058 <at> columbia.edu> writes:

> In a loop, if a function, such as "nls", gives an error, is it possible to
> coerce R to continue proceeding the next command with the same
> loop?

You may also have a look at nlsList in package(nlme). In handles errors returns a nice list of result.

Dieter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 18 16:48:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST