[R] PostScript output error

Mitsuru Oka oka at debian.or.jp
Wed Sep 8 13:00:09 CEST 1999


Hello,

I'm currently using R-0.65.0 with --gnome option in
configure on IRIX64 and Debian GNU/Linux.

I found a problem in generated postscript file which
has following sequence:

  x <- 1:30
  postscript("output.ps")
  par(mfg=c(1,1,2,2))
  plot(x,sin(x))
  plot(x,sin(x))
  plot(x,sin(x))
  plot(x,sin(x))
  dev.off()

The generated postscript file "output.ps" can't be
interpreted by Aladdin Ghostscript 5.10.

  Error: /undefined in ps
  Operand stack:
     (0)   0.5   0.0
  Execution stack:
     %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   2   3   %oparray_pop   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   5   3   %oparray_pop
  Dictionary stack:
     --dict:781/809--   --dict:0/20--   --dict:89/200--
  Current allocation mode is local
  Current file position is 3092


What is a problem in my program or R?

Thanks.
--
Mitsuru Oka
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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