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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to