sum x
Return the sum of all values in an R vector. This wraps R's sum function.
i1 : x = RObject {2, 4, 6} o1 = [1] 2 4 6 o1 : RObject of type integer
i2 : sum x o2 = [1] 12 o2 : RObject of type integer
The source of this document is in RInterface/doc/stats.m2:70:0.