[R] Summary of colSums

About this list Date view Thread view Subject view Author view Attachment view

From: David Kane a296180@mica.fmr.com)
Date: Thu 19 Jul 2001 - 22:45:05 EST


Message-id: <15190.54865.919806.670532@gargle.gargle.HOWL>

Thanks to Andy Liaw, Douglas Bates and Marcel Wolters for spending time on my
problem. In summary, there does not seem to be a built in colSums in R as there
is in S+ 6.0. However, Doug Bates was kind enough to send me a simple math
utilities package that has a version of colSums in C. The package installed
without a hitch and produced similar performance to the S+ colSums function (in
my simple tests). Both Andy Liaw and Marcel Wolters pointed out that the built
in matrix operators (like %*%) are likely to be faster than apply, especially
if one has compiled R with the Atlas library (which I have not yet done).

Thanks again to all,

Dave Kane
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:20 EST