[R] 2.4.0 and lattice 0.14-9: Changed behaviour of scales-argumenttck

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Oct 31 17:12:38 CET 2006


On 10/31/06, Gerrit Eichner <Gerrit.Eichner at math.uni-giessen.de> wrote:
> Dear list,
>
> I have observed a change in the behaviour of the scales-argument tck of
> xyplot() after having installed R 2.4.0 (for version info see below).
>
> The help page of xyplot() says about the scales-argument tck:
>
> 'tck' numeric to control length of tick marks. Can be a vector
>        of length 2, to control left/bottom and right/top separately.
>
> But if I issue
>
> xyplot( y ~ x, scales= list( tck= c( 1, 0)))
>
> (with suitable numeric vectors x and y, of course) the plot shows
> alternating tick mark lengths *on every side* of the plot (i.e., the
> length of every second tick mark is zero). I wanted to see tick marks only
> on the left and bottom side of the coordinate system (as I did see before
> with R 2.2.0 and lattice version 0.12-9).

It's a bug that I had a fix for but forgot to include in the last
update. A new version of lattice should be available in a day or two.

> Has anybody a workaround to get back the original (documented)
> behaviour?

Since you are on linux, you could simply check out the svn version
from https://svn.r-project.org/R-packages/trunk/lattice and compile
it.

-Deepayan

> Thanks a lot!
>
>   Best regards  --  Gerrit
>
> PS: My system:
>
> > version
>                 _
> platform       x86_64-unknown-linux-gnu
> arch           x86_64
> os             linux-gnu
> system         x86_64, linux-gnu
> status
> major          2
> minor          4.0
> year           2006
> month          10
> day            03
> svn rev        39566
> language       R
> version.string R version 2.4.0 (2006-10-03)



More information about the R-help mailing list