[R] text works with the postscript device?

Armin S. A. Roehrl Armin.Roehrl at epfl.ch
Thu Apr 22 01:10:56 CEST 1999


Dear R experts,

R (0.63) does not seem to write me any text in a PS file.
Trying

x11()
plot(12)
text(5,5, "Hello World")

works fine.

Now I would like to have the same as a PS file.
postscript("foobar.ps")
plot(12)
text(5,5,"Hello World")
dev.off()

Gives me a PS file with the plot -- but without the
"Hello World".

Why? I'm completely clueless.

Ciao & thanks
        Armin

----------------------------------------------------------------------------
Department of Mathematics               | email: Armin.Roehrl at epfl.ch
Swiss Federal Institute of Technology   | http://statwww.epfl.ch/people/roehrl
1015 Lausanne, Switzerland              | Tel.: ++41 (0) 21 693 5508
----------------------------------------------------------------------------
The real problem is not whether machines think, but whether men do. B. F. Skinner



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