Thanks for that Gabor, it works fine from the development version you've pointed to.
There is in addition a performance issue: the following benchmark ran in under 0.2s in the previous version, now consistently shows elapsed time over 14s on a Xeon with Windows. It's unaffected if I use the development version. Giles Heywood #example system.time(rollmax(x= zoo(1:10000,1:10000),k=20,align="right")) R version 2.13.1 (2011-07-08) Platform: i386-pc-mingw32/i386 (32-bit) ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.