[R] how to do this sum?

From: GuangXing <guangxing_at_ict.ac.cn>
Date: Mon 19 Jun 2006 - 20:17:20 EST

Hi, Everybody!
I have a big table which named table_x, and all the elements in the table is very large! Now I want to do the summay on the talbe_x[,3]. Unfornately, I can't get the right result! And the R give the warning messages as follow:
> sum(table_x[,3])
>[1] NA
>Warning message:
>interger overflow in sum(.);please use sum(as.numeric(.))
(the original upper message is Chinese,and I have translated those to English.)

Any one tell me how to use the as.numeric(.)? And I want to know does R support the 64bits interger?How to do? Pls forgive my ignorance.

Thank you in advance!


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jun 19 20:21:16 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 19 Jun 2006 - 22:11:15 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.