[R] Strange error in qplot

megh megh700004 at yahoo.com
Mon Jul 13 02:15:16 CEST 2009


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 working fine. Am I missing
something?

Regards,
-- 
View this message in context: http://www.nabble.com/Strange-error-in-qplot-tp24453872p24453872.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list