Yes, that is the general objective. I'll look-into aggregates in R and see if anything helps. Thanks, a217 -- View this message in context: http://r.789695.n4.nabble.com/Writing-a-summary-file-in-R-tp3700031p3700071.html Sent from the R help mailing list archive at Nabble.com.