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

Gerrit Eichner Gerrit.Eichner at math.uni-giessen.de
Tue Oct 31 14:08:36 CET 2006


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).

Has anybody a workaround to get back the original (documented) behaviour?
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)

---------------------------------------------------------------------
AR Dr. Gerrit Eichner                          Mathematical Institute
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32029               http://www.math.uni-giessen.de



More information about the R-help mailing list