Re: [R] Timer on a function

2012-03-16 Thread William Dunlap
> -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: Friday, March 16, 2012 4:28 AM > To: Bert Gunter > Cc: William Dunlap; r-help@r-project.org; Ramiro Barrantes > Subject: Re: [R] Timer on a function > > On Thu, 15 Mar 2012, Bert Gu

Re: [R] Timer on a function

2012-03-16 Thread Prof Brian Ripley
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Thursday, March 15, 2012 3:05 PM To: Ramiro Barrantes Cc: r-help@r-project.org Subject: Re: [R] Timer on a function On Thu, Mar 15, 2012 at 2:24 PM, Ramiro Barrantes wrote:  

Re: [R] Timer on a function

2012-03-15 Thread Bert Gunter
oblem. > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On >> Behalf >> Of Bert Gunter >> Sent: Thursday, March 15, 2012 3:05 PM >&g

Re: [R] Timer on a function

2012-03-15 Thread William Dunlap
o.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Bert Gunter > Sent: Thursday, March 15, 2012 3:05 PM > To: Ramiro Barrantes > Cc: r-help@r-project.org > Subject: Re: [R] Timer on a function > >

Re: [R] Timer on a function

2012-03-15 Thread Ben Bolker
Ramiro Barrantes 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:

Re: [R] Timer on a function

2012-03-15 Thread Bert Gunter
On Thu, Mar 15, 2012 at 2:24 PM, Ramiro Barrantes wrote: >    Hello, > > 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

[R] Timer on a function

2012-03-15 Thread Ramiro Barrantes
Hello, 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: say if my line is: fittingFunction( func, model.1

Re: [R] timer in R?

2009-07-01 Thread Philippe Grosjean
Barry Rowlingson wrote: On Wed, Jul 1, 2009 at 8:41 PM, Michael wrote: Hi all, How could I set a timer in R, so that at fixed interval, the R program will invoke some other functions to run some tasks? Use timer events in the tcltk package: z=function(){cat("Hello you!\n");tcl("after",100

Re: [R] timer in R?

2009-07-01 Thread Barry Rowlingson
On Wed, Jul 1, 2009 at 8:41 PM, Michael wrote: > Hi all, > > How could I set a timer in R, so that at fixed interval, the R program > will invoke some other functions to run some tasks? > Use timer events in the tcltk package: > z=function(){cat("Hello you!\n");tcl("after",1000,z)} > tcl("after"

Re: [R] timer in R?

2009-07-01 Thread Michael
I use Windows. Thank you! On Wed, Jul 1, 2009 at 12:53 PM, Eduardo Leoni wrote: > I think you are better off writing the R script and invoke it using a > OS specific tool. For Unix-like systems there is cron. > > hth, > > -e > > On Wed, Jul 1, 2009 at 3:41 PM, Michael wrote: >> Hi all, >> >> How c

[R] timer in R?

2009-07-01 Thread Michael
Hi all, How could I set a timer in R, so that at fixed interval, the R program will invoke some other functions to run some tasks? Thank you very much! __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] Timer

2008-11-24 Thread Tony Breyal
Hi Jaey, I asked a similar type of question last month, maybe it might be helpful to you: https://stat.ethz.ch/pipermail/r-help/2008-October/176645.html Warm Regards, Tony Breyal On 24 Nov, 08:21, "jaey.ahn" <[EMAIL PROTECTED]> wrote: > Hi, is there any function or package for timer? > What I

Re: [R] Timer

2008-11-24 Thread Gerhard Schön
have a look at ?txtProgressBar. cheers, Gerhard Schön Hi, is there any function or package for timer? What I inted to do is to run procedure(/or function) every x seconds. (x > 10 seconds) for instance, visual basic provides : application.onTime method. Rather than utilizing loop, I want to

[R] Timer

2008-11-24 Thread jaey.ahn
Hi, is there any function or package for timer? What I inted to do is to run procedure(/or function) every x seconds. (x > 10 seconds) for instance, visual basic provides : application.onTime method. Rather than utilizing loop, I want to know whether R provides superior solution with time effi