[Rd] xyplot {lattice} bug causes crash (PR#2370)

Toby.Patterson@csiro.au Toby.Patterson@csiro.au
Fri Dec 13 00:15:36 2002


Full_Name: Toby Patterson
Version: 1.6.0
OS: winXP
Submission from: (NULL) (140.79.2.3)



I seem to be able to cause a predictable crash (i.e. the application terminates
abnormally) in R using the library lattice. If I have 

x<-cbind(1:10,c(rep(1,7),rep(2,3)),rnorm(10))
library(lattice)
xyplot(x[,1]~x[,3]|x[,2]) 
 
# works oK but reversing the ylim entries i.e. 

xyplot(x[,1]~x[,3]|x[,2],ylim=c(10,0)) 

# seems to crash R at this point with a "divide by zero" win32 popup error 
# message. 


platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    1              
minor    6.0            
year     2002           
month    10             
day      01             
language R