Re: [R] Sum Column in data.frame for Excel-Export

2012-11-18 Thread PIKAL Petr
Hi maybe ?rbind Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Mat > Sent: Friday, November 16, 2012 3:42 PM > To: r-help@r-project.org > Subject: [R] Sum Column in data.frame for Excel-Export &

[R] Sum Column in data.frame for Excel-Export

2012-11-16 Thread Mat
Hello together, I have a data.frame, which I would like to export to excel. This works without problems. My problem is, that i can't sum one of the colums. If i try this, i get the sum of this column. > sum_PT_PROG<-sum(data_export_final_sort$PT_PROG,na.rm=TRUE) > sum_PT_PROG [1] 130 But how can