Re: [R] Lattice bwplot error

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Sat 12 Mar 2005 - 06:00:31 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 14 10:34:07 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:47 EST