[R] Postscript query

Jim Lemon bitwrit at ozemail.com.au
Tue Sep 11 13:40:08 CEST 2001


Michael Manning wrote:

> I am experiencing some interesting results when I attempt to save
> graphical output to a file via "postscript".  I am running R version
> 1.3.0 on a Mandrake 8.0 system under Xemacs 21.1.14 via ESS 5.1.18. 
> Once I have generated a graph, I have attempted to save the graph with
> statements like
>
> postscript("myplot.eps",horizontal=FALSE, height=8, width=6)
>
> however, the resulting postscript file appears to be, um, blank (i.e.
> when I open the file in the gimp or some other graphics editor, there
> isn't anything there).

On Mandrake 7.2 (R running in "konsole") the following produces correct
output:

> postscript("test.ps",horizontal=FALSE, height=8, width=6)
> plot(1:10)
> dev.off()

when viewed with Ghostview. Have you missed any steps?

Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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