Re: [R] Help on R performance using aov function

2007-08-09 Thread Prof Brian Ripley
aov() will handle multiple responses and that would be considerably more efficient than running separate fits as you seem to be doing. Your code is nigh unreadable: please use your spacebar and remove the redundant semicolons: `Writing R Extensions' shows you how to tidy up your code to make i

[R] Help on R performance using aov function

2007-08-09 Thread Francoise PFIFFELMANN
Hi, I’m trying to replace some SAS statistical functions by R (batch calling). But I’ve seen that calling R in a batch mode (under Unix) takes about 2or 3 times more than SAS software. So it’s a great problem of performance for me. Here is an extract of the calculation: stoutput<-file("res_oneWay