[R] cannot print/save graphics.

Jean Eid jeaneid at chass.utoronto.ca
Fri Jul 30 21:55:50 CEST 2004


You have to have postscript("foo.eps", ..) before you issue the plot
commands and isuue a dev.off() at the end.

If you want to copy the plot graph to a postscript driver use
dev.copy2eps(file="foo.eps")


?dev.print
?postscript

Hope this helps.







On Fri, 30 Jul 2004, marzban wrote:

>
> Hi,
>
> I'm running the latest version of R on a linux box.
>  plot() does produce a grahpics window. But is it
> "normal" for that window to not respond to a left
> or right mouse click?
>
> What I'm really trying to do is the save the graphics
> to a postscript file, but postscript() produces an "empty postscript
> file".
>
> Thanks,
> Caren
> --
> http://www.nhn.ou.edu/~marzban
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list