Hi,there,

I ran into some problems when using Graphics Devices functions combined with
"xyplot" function from "lattice" package.


=============================================
data(quakes)
Depth <- equal.count(quakes$depth, number=8, overlap=.1)


jpeg("3.jpeg")
xyplot(lat ~ long | Depth, data = quakes)
dev.off()
###it's ok



for(ind in 1:10){
jpeg(paste((1:10)[ind],".jpeg",sep=""))
xyplot(lat ~ long | Depth, data = quakes)
dev.off()
}

###does not work, all jpeg files are empty.

=============================================

any suggestions?

---
LiGang

	[[alternative HTML version deleted]]

