Hadley turned me on to the plyr package and I find myself using it all the time to do \'group by\' sort of stuff. But I find myself having to always rename the resulting col
Use summarise (or summarize):
groupAcres <- ddply(mydata, "state", summarise, myName = sum(acres))