[R] barchart in lattice 0.18-5

Erich Studerus erich.studerus at bli.uzh.ch
Sun Apr 25 00:41:28 CEST 2010


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?
Regards,
Erich



More information about the R-help mailing list