[R] Postsript/Lattice interaction

About this list Date view Thread view Subject view Author view Attachment view

From: Kieran Healy (kjhealy@arizona.edu)
Date: Wed 16 Jan 2002 - 11:12:54 EST


Message-id: <3C44C586.C5E43678@arizona.edu>

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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:11 EST