Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

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

Dieter Menne

2005-07-18

Replies:

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@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.