Thanks for the fast reply. I'm using ggplot2 (it was a typo in my code example). However, using exactly the same example as I mentioned before, it only shows the bars for cyl=6&8.
How can the behaviour be different on differing machines? I just checked for updates and I have the latest ggplot2. Thanks, Bart -- View this message in context: http://r.789695.n4.nabble.com/Ggplot-barchart-drops-factor-levels-how-to-show-them-with-zero-counts-tp4475417p4475788.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.