[R] Timer on a function

Ben Bolker bbolker at gmail.com
Fri Mar 16 00:11:44 CET 2012


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 ...



More information about the R-help mailing list