[R] rowSums() and is.integer()

Tim Hesterberg timh at insightful.com
Wed Nov 21 02:45:56 CET 2007


I wrote the original rowSums (in S-PLUS).
There, rowSums() does not coerce integer to double.

However, one advantage of coercion is to avoid integer overflow.

Tim Hesterberg

>...  So, why does rowSums() coerce to double (behaviour
>that is undesirable for me)?



More information about the R-help mailing list