[R] tapply slow?

Meinhard Ploner meinhardploner at gmx.net
Wed Jul 24 10:30:45 CEST 2002

If I call the function tapply

tapply(x, fact, sum)

with arguments of length 500000 the function works very slow.
Is there an alternative to get the same results?
The factor has about 100000 levels.

Meinhard Ploner

platform powerpc-apple-darwin5.3
arch     powerpc
os       darwin5.3
system   powerpc, darwin5.3
major    1
minor    4.0
year     2001
month    12
day      19
language R

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list