[R] Column sums from a data frame (without the column headers)

2008-02-29 Thread Jason Horn
Does anyone know how to get a vector of column sum from a data frame? You can use colSums(), but this gives you a object of type "numeric" with the column labels in the first row, and the sums in the second row. I just want a vector of the sums, and I can't figure out a way to index the "

[R] Column sums from a data frame (without the headers)

2008-02-29 Thread Jason Horn
Does anyone know how to get a vector of column sum from a data frame? You can use colSums(), but this gives you a object of type "numeric" with the column labels in the first row, and the sums in the second row. I just want a vector of the sums, and I can't figure out a way to index the "

[R] Problem Installing 2.6.0 on Mac

2007-11-09 Thread Jason Horn
I'm not able to install R 2.6.0 on my Mac running 10.5. When running the installer, and after agreeing to the license, in the "Installation Type" stage, the Packages are all greyed out (R framework and R GUI for MAC OS X), and therefore the "Install" button in the lower right is greyed out

[R] How to produce a macron symbol (overline / overbar) on a plot

2007-09-17 Thread Jason Horn
Can anyone tell me how to produce a macron (or overbar or overline) symbol on an R plot. I have an axis that is labeled "temp", but I need the overbar symbol over the entire word. Thanks, Dr. Jason W. Horn Research Associate Boston University Department of Biology 5 Cumington Street Boston,