Message-ID: <200503111300.31727.deepayan@stat.wisc.edu>
Date: 2005-03-11T19:00:31Z
From: Deepayan Sarkar
Subject: Lattice bwplot error
In-Reply-To: <F0E0B899CB43D5118D220002A55113CF04FE5758@s2-edm-r1.nrn.nrcan.gc.ca>
On Friday 11 March 2005 11:47, Yang, Richard wrote:
> Dear all;
>
> Searching the R site for answers to my problem, but found none.
If this is what I'm guessing it is, you haven't searched carefully enough.
This was a bug (in lattice) that was reported several times, but has been
fixed long ago. Run update.packages() and try again.
> Here is the run and error:
> > bwplot(dev ~ Dbhcl | Period, data = DbhValid2, font = 2,
>
> + main=list(" "), axis.font =2,
> + ylab = list(label = "Residual (cm)", font = 2),
> + xlab = list(label = "Dbh class (cm)", font = 2),
> + par.strip.text=list(cex=0.8, font=2),
> + panel=function(x, y) {
> + panel.grid()
> + panel.abline(h = 0)
> + panel.bwplot(x, y, horizontal = TRUE)
> + }
> + )
>
> Error in "[<-"(`*tmp*`, pos.heights[[nm]], value = numeric(0)) :
> nothing to replace with
If I remember correctly, this wasn't enough to trigger the problem in a fresh
R session.
Deepayan