hadley/ggplot2 — comment on commit 173094a923eb2ece8c57887755eca4e45df7b67d
File: R/geom-dotplot.r line 26
By briandk:

> I think you're right about the source of the problem. I don't know offhand if giving x a default value would have any negative consequences.

I can't remember if @hadley's [book][2] warned that `..count..` can only make one appearance in an `aes()` call. If there is a passage like that in the book somewhere, I can't find it.

Even so, the user has to specify at least *one* axis to bin on, so it would seem sensible to think that one of the `..count..` aesthetic values should always get overridden by some user-passed value.

I just realized, though, that `stat_bindot()` might need to have its [corresponding `default_aes()`][1] set, so I'll check that too.

[1]: https://github.com/hadley/ggplot2/blob/171b6ed5d1b1057b634cb332a985ba29c8164db8/R/stat-bindot.r#L163-164
[2]: http://www.amazon.com/ggplot2-Elegant-Graphics-Data-Analysis/dp/0387981403/ref=sr_1_1?ie=UTF8&qid=1330241472&sr=8-1