Ramiro Barrantes <ramiro <at> precisionbioassay.com> writes: > I have a program that consists of a loop fitting a function > over many models. Sometimes the fitting on a > particular model takes minutes to converge. Is there a way that > I can limit the amount of time that R spends > on a given model:
Have you looked at ?setTimeLimit ... ?? I did apropos("time") to see what might be useful ... ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.