Re: [Rd] barchart fails when grouping variable has more than 7 levels (PR#7293)

From: <deepayan_at_stat.wisc.edu>
Date: Tue 19 Oct 2004 - 13:31:00 EST


On Monday 18 October 2004 21:47, kiermeier.andreas@saugov.sa.gov.au wrote:
> Full_Name: Andreas Kiermeier
> Version: 2.0.0
> OS: Windows XP
> Submission from: (NULL) (203.26.122.12)
>
>
> I've struck a problem drawing barcharts after installing R 2.0.0.
> Previously I've used the following command
>
> print(barchart(100*result ~ sample,
> groups=congener,
> data=dioxin.2003.fresh.ub.p, stack=TRUE,
> ylim=c(0,102)))
>
> to draw a stacked barchart of the precentage contribution of each
> type of dioxin congener. Now, however I get the following error.
>
> Error in grid.Call.graphics("L_rect", x$x, x$y, x$width, x$height,
> valid.just(x$just)) :
> invalid line type
>
> The graph that actually results on my trellis device has axes and for
> the first sample it manages to 7 of the 17 stacked bars.

Right, I had the color replicated to be as long as necessary, but missed the other things. Should be fixed in the next release. Thanks,

Deepayan



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Oct 19 13:36:47 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:22 EST