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

Dieter Menne dieter.menne at menne-biomed.de
Mon Jul 18 08:42:40 CEST 2005


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




More information about the R-help mailing list