[R] bug in lattice xyplot key
    Bud Gibson 
    fpgibson at umich.edu
       
    Wed Dec  4 22:57:02 CET 2002
    
    
  
Hi:
I am running lattice 0.6-6 with grid 0.7-2 on RH 7.3 using the binary 
version of R 1.6.1 from CRAN.  If I use a key with lines in it, anytime 
I try to set the line type, it causes R to segfault.  Here is the 
simplest lines key code that will do it:
        key=list(corner = c(0,0), x = .16, y = .65,
          text = list(levels(data[[groupName]]), cex = 1.2),
          points = list(pch=c(mylty[1:length(levels(data[[groupName]])) 
- 1])),
          lines = list(type="b")
           )
Lines will work, setting the type does not.  Here is the R exception:
Process R floating point exception at Wed Dec  4 15:48:46 2002
Any help appreciated.
Thanks,
Bud
    
    
More information about the R-help
mailing list