[R] How to increase the for() loop speed?

Rafael Barros de Rezende rafabarros at cedeplar.ufmg.br
Thu Jun 12 18:22:22 CEST 2008


   My routine is on Financial Econometrics (Yield Curve Modeling). It is very
   intensive. And I have heard that the for() loop speed could be increased
   with a command. I want to know if there a way to do it.

   Best regards.
   Rafael Barros de Rezende
   ---------- Original Message -----------
   From: Erik Iverson <iverson at biostat.wisc.edu>
   To: Rafael Barros de Rezende <rafabarros at cedeplar.ufmg.br>
   Cc: r-help at r-project.org
   Sent: Thu, 12 Jun 2008 11:06:09 -0500
   Subject: Re: [R] How to increase the for() loop speed?
   > 13 minutes is a long time for a loop to simply send an email, what other
   > calculations are going on?
   >
   > Rafael Barros de Rezende wrote:
   > >    Dear R users,
   > >
   > >    I would like to know if there is a way to increase the for() loop
   speed
   > >    because in my routine the calculations are too slow.
   > >
   > >    Best regards.
   > >    Rafael Barros de Rezende
   > >    Cedeplar  - Center for Development and Regional Planning
   > >    Face, UFMG ([1][1]http://www.cedeplar.ufmg.br)
   > >    --
   > >    Esta mensagem foi verificada pelo sistema de antivÃrus e
   > >    acredita-se estar livre de perigo.
   > >
   > > References
   > >
   > >    1. [2]http://www.cedeplar.ufmg.br/
   > > ______________________________________________
   > > R-help at r-project.org mailing list
   > > [3]https://stat.ethz.ch/mailman/listinfo/r-help
   > > PLEASE do read the posting guide
   [4]http://www.R-project.org/posting-guide.html
   > > and provide commented, minimal, self-contained, reproducible code.
   > >
   >
   > --
   > Esta mensagem foi verificada pelo sistema de antivírus e
   > acredita-se estar livre de perigo.
   ------- End of Original Message -------
   --
   Esta mensagem foi verificada pelo sistema de antivírus e
   acredita-se estar livre de perigo.

References

   1. http://www.cedeplar.ufmg.br/
   2. http://www.cedeplar.ufmg.br/
   3. https://stat.ethz.ch/mailman/listinfo/r-help
   4. http://www.r-project.org/posting-guide.html


More information about the R-help mailing list