Re: [R] Strange error in qplot

2009-07-12 Thread hadley wickham
Hi megh, Unfortunately there's a known bug which prevents you from setting the y axis title in this way. Instead you can do : qplot(...) + scale_y_continuous("") I think I've figured out a work around and it will be fixed in a future release. Hadley On Mon, Jul 13, 2009 at 2:15 AM, megh wrote

[R] Strange error in qplot

2009-07-12 Thread megh
Hi all, whenever I try to plot a histogram using qplot() function of "ggplot2" library, I get error like this : > qplot(rnorm(1000), geom="histogram", binwidth=0.2, main = "", xlab="", > ylab="") Error in scale[[1]] : subscript out of bounds However if I remove ylab="" argument, then it is worki