hadley/ggplot2 — Issue #246: With large numbers, seeing “Error: position_stack requires constant width”
Author: yang
Created: 2011-10-13 01:10:31+00:00
State: open

From http://stackoverflow.com/questions/7492250/trying-to-plot-simple-histogram-in-ggplot2-gives-error-position-stack-requires:

```
> qplot(c(0,0,0,0,1e12))
stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
Error: position_stack requires constant width
> qplot(c(0,0,0,0,1e12), binwidth=1e12/30)
Error: position_stack requires constant width
> qplot(c(0,0,0,0,1e12), binwidth=1e10) # works
> qplot(c(0,0,0,0,1e12), binwidth=1e11) # works
```