Update: What did make a difference for me - and something that was present in Jim's example, but not reproduced by myself initially - was dropping columns other than the two involved. When I dropped all columns except for h and src, the sqldf call worked.
... Is it an R bug or what? (I am saying R, not sqldf, because built-in tapply did not work either). Arrgh... -- View this message in context: http://r.789695.n4.nabble.com/Failure-to-aggregate-tp2528613p2533206.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.