[R] Histogram messed up
murdoch.duncan at gmail.com
Wed Sep 7 02:38:52 CEST 2011
On 11-09-06 6:29 PM, Berry Boessenkool wrote:
> Hey all,
> I encountered a problem drawing a histogram.
> You can view the picture here:
This has been fixed in R-patched: see
> What happens:
> the bars are drawn with different starting points, thus no straight zero-line is there.
> And bars are overlapping. (or sometimes apart from each other.)
> How it happens:
> hist(volcano, breaks=10) # and any other data
> This also happens with barplot(rnorm(10,10,1), space=0).
> resizing the graphics window shows the double line in differing places.
> What I thought may cause it:
> Just installed "xlsReadWrite", but I don't think that should be a problem, even though it's kind of irregular, with the xls.getshlib().
> I restarted R when I noticed this, but even without lybrarying the package, it still happens.
> I only recently upgraded to R 2.13.1, so I'm not sure it didn't happen before the package.
> It did not happen with older R versions, that I do know. But that isn't necessarily causal.
> What I want to know:
> Any idea what may be causing this? Or better yet, what may be solving this?
> Am I the only one with the problem? Could it be a bug? Is it my computer?
> Any help would be highly appreciated!
> What you may need to know:
> Im using R on a Windows XP machine.
> here's my
> R version 2.13.1 (2011-07-08)
> Platform: i386-pc-mingw32/i386 (32-bit)
>  LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252
>  LC_NUMERIC=C LC_TIME=German_Germany.1252
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> Berry Boessenkool
> D-14476 Potsdam
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help