[R] barchart in lattice 0.18-5

Felix Andrews felix at nfrac.org
Sun Apr 25 04:43:38 CEST 2010


On 25 April 2010 08:41, Erich Studerus <erich.studerus at bli.uzh.ch> wrote:
> Hello
>
> After updating to R version 2.11.0, the xlim argument of the lattice
> barchart function does no longer work as expected. For example, the
> following code does not produce the same result in lattice lattice_0.18-3
> and lattice_0.18-5
>
> barchart(t(matrix(1:3,1:3)),horizontal=F,box.width=1,xlim=c(0.5,3.5))
>
> In lattice_0.18-3, I could use xlim to remove the spaces between the left
> y-axis and the first bar and between the right y-axis and the last bar. This
> is no longer possible in lattice_0.18-5. Is this a bug?

Yes, and it is my fault.

I am testing a fix.



-- 
Felix Andrews / 安福立
Postdoctoral Fellow
Integrated Catchment Assessment and Management (iCAM) Centre
Fenner School of Environment and Society [Bldg 48a]
The Australian National University
Canberra ACT 0200 Australia
M: +61 410 400 963
T: + 61 2 6125 4670
E: felix.andrews at anu.edu.au
CRICOS Provider No. 00120C
-- 
http://www.neurofractal.org/felix/



More information about the R-help mailing list