Re: [R] How to make R running faster

2008-05-28 Thread Richard Rowe
[EMAIL PROTECTED] wrote: Hi everyone, I run the R loops on window XP and vista. Both are Intel core 2 Duo 2.2 GHz with 2 GB ram and XP is significantly faster than vista. Dose anyone know how speed up R loops in vista? Thank you in advance. Chunhao Tu

Re: [R] How to make R running faster

2008-05-28 Thread Robert A LaBudde
At 10:25 AM 5/28/2008, Esmail Bonakdarian wrote: Erin Hodgess wrote: I remember reading the colSum and colMean were better, when you need sums and means Well .. I'm waiting for the experts to jump in and give us the straight story on this :-) All of the algorithms are represented internally

Re: [R] How to make R running faster

2008-05-28 Thread Esmail Bonakdarian
Erin Hodgess wrote: I remember reading the colSum and colMean were better, when you need sums and means Well .. I'm waiting for the experts to jump in and give us the straight story on this :-) __ R-help@r-project.org mailing list https://stat.ethz.

Re: [R] How to make R running faster

2008-05-28 Thread Erin Hodgess
I remember reading the colSum and colMean were better, when you need sums and means On Wed, May 28, 2008 at 8:26 AM, Esmail Bonakdarian <[EMAIL PROTECTED]> wrote: > Neil Shephard wrote: >> >> Loops are not massively efficient within R. >> >> Look into using the apply() family of functions >> (eapp

Re: [R] How to make R running faster

2008-05-28 Thread Esmail Bonakdarian
Neil Shephard wrote: Loops are not massively efficient within R. Look into using the apply() family of functions (eapply()/lapply()/mapply/rapply()/tapply()). Didn't someone post not too long ago that apply is internally represented as a for-loop? Or am I not remembering this correctly? The

Re: [R] How to make R running faster

2008-05-28 Thread John Fox
, Ontario, Canada web: socserv.mcmaster.ca/jfox > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: May-28-08 4:27 AM > To: r-help@r-project.org > Subject: [R] How to make R running faster > > Hi everyone

Re: [R] How to make R running faster

2008-05-28 Thread Neil Shephard
ctu wrote: > > Hi everyone, > I run the R loops on window XP and vista. Both are Intel core 2 Duo > 2.2 GHz with 2 GB ram and XP is significantly faster than vista. Dose > anyone know how speed up R loops in vista? > > Loops are not massively efficient within R. Look into using the appl

[R] How to make R running faster

2008-05-28 Thread ctu
Hi everyone, I run the R loops on window XP and vista. Both are Intel core 2 Duo 2.2 GHz with 2 GB ram and XP is significantly faster than vista. Dose anyone know how speed up R loops in vista? Thank you in advance. Chunhao Tu __ R-help@r-project.