It looks to me like you are asking for the split= argument to
the summary.aov method. Look at ?summary.aov and the
"# Cochran and Cox (1957, p.164)" example.
I have more examples in my book
Statistical Analysis and Data Display
Richard M. Heiberger and Burt Holland
http://springeronline.com/0-387-40270-5