[R] Postsript/Lattice interaction
Kieran Healy
kjhealy at arizona.edu
Wed Jan 16 01:12:54 CET 2002
Hello --
I'm using R-1.4.0 on a PC running SuSE Linux 7.1. Following Christian
Ritter's announcement this morning, I downloaded the new versions of
lattice and grid. I find that loading the lattice library causes
postcript() to include a blank first page when creating a file. Like
this:
> # Create regular postscript file of a plot
> postscript(file="anyplot.ps",horizontal=FALSE, paper="letter")
> plot(any.data)
> dev.off()
> # So far so good -- a one page plot.
> # Now load lattice library
> library(lattice)
Loading required package: grid
>
> # Now try to plot again
> postscript(file="anyplot.ps",horizontal=FALSE, paper="letter")
NULL
> plot(any.data)
> dev.off()
Note the NULL output. The file "anyplot.ps" will now be two pages long
--- one blank page, then the proper plot.
I'm not too familiar with lattice, so I'm not sure if this is a known
issue. A search through the help archives didn't turn anything up.
Cheers,
Kieran
--
Kieran Healy, kjhealy at arizona.edu. (520) 621-3480.
Asst Professor, Sociology Dept, University of Arizona.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list