Re: [R] performance: zoo's rollapply() vs inline

2009-03-23 Thread Gabor Grothendieck
On Mon, Mar 23, 2009 at 5:08 AM, Achim Zeileis wrote: > On Mon, 23 Mar 2009, Ken-JP wrote: > >> zoo's rollapply() function appears to be extremely useful for plugging in >> a >> function on-the-fly to run over a window.  With inline, there is a lot >> more >> coding and room for error, and the cod

Re: [R] performance: zoo's rollapply() vs inline

2009-03-23 Thread Achim Zeileis
On Mon, 23 Mar 2009, Ken-JP wrote: zoo's rollapply() function appears to be extremely useful for plugging in a function on-the-fly to run over a window. With inline, there is a lot more coding and room for error, and the code is less portable because the user has to have R compiling set up or i

[R] performance: zoo's rollapply() vs inline

2009-03-23 Thread Ken-JP
zoo's rollapply() function appears to be extremely useful for plugging in a function on-the-fly to run over a window. With inline, there is a lot more coding and room for error, and the code is less portable because the user has to have R compiling set up or it won't work. However, rollapply() s