Skip to content
Prev 16152 / 398498 Next

lattice problems under Win2K and R-1.4.0

There's a hack you can use if you are sure that you are going to produce 
only one plot (more precisely, if you are sure that the first plot on that 
device is going to be produced by lattice). Try


trellis.device("png", file="mygraph.png")

.lattice.print.more <<- TRUE

data(quakes)
xyplot(long ~ lat , data = quakes)
dev.off()

The same should work in other devices as well. 

Note that you should ALWAYS USE trellis.device() to start a device, and 
not just something like png().
--- Thomas Stockton <stockton at neptuneandco.com> wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._