From rmh at temple.edu  Sat Jul 10 23:28:10 2004
From: rmh at temple.edu (rmh@temple.edu)
Date: Sat Jul 10 23:28:12 2004
Subject: [Rd] bug in xyplot xlab, etc (PR#7076)
Message-ID: <20040710212810.1244FEAC0@slim.kubism.ku.dk>

# 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
#
#       r-bugs@r-project.org
#
######################################################


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

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


[Rd] bug in xyplot xlab, etc (PR#7076)
rmh@temple.edu