[EMAIL PROTECTED] wrote:

# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       [EMAIL PROTECTED]
#
######################################################


This looks to me like a bug in xyplot and friends. I anticipated that all three of these xyplot statements would work. This is based on the documentation line

The 'label' tag can be omitted if it is the first element of the list.


x <- 1:10
y <- 1:10
xyplot(y ~ x, xlab=list("abcd", cex=2))  ## works as intended
xyplot(y ~ x, xlab=list(label="abcd"))   ## works as intended
xyplot(y ~ x, xlab=list("abcd"))         ## error message

Error in if (is.list(label) && names(label)[1] == "") label[[1]] else default.label : missing value where TRUE/FALSE needed


Let me also point out that the documentation (?xy.plot from lattice) is like some of those german bureaucreatic documents:

  ylab  Fine control possible, see entry for xlab.
  xlab  Fine control is possible, see entry for sub.
  sub   See entry for main for finer control options.

Deepayan might want to point to "main" from all of these ....

Best,
Uwe


BTW: Is it the correct way to submit bug reports on recommended packages to the R's bug repository? Instead, I would have send it to Deepayan as the maintainer of lattice (maybe a point that is not entirely clear from the FAQs: distinguishing contributed, recommended and base package related to bug reports).




--please do not edit the information below--

Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status = major = 1
minor = 9.1
year = 2004
month = 06
day = 21
language = R


Windows XP Home Edition (build 2600) Service Pack 1.0

Search Path:
.GlobalEnv, file:c:/HOME/rmh/hh/splus.library/HH/.RData, package:methods, package:stats, package:utils, package:multcomp, package:mvtnorm, package:abind, package:graphics, package:lattice, package:grid, Autoloads, package:base


______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to