[R] Lattice bwplot error
Deepayan Sarkar
deepayan at stat.wisc.edu
Fri Mar 11 20:00:31 CET 2005
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
More information about the R-help
mailing list