[R] postscript problem

Strumila, John John.Strumila at team.telstra.com
Tue May 8 02:44:09 CEST 2001


I've had a similar problem when the gs_lib environment variable hasn't been
set up to point to the correct font libraries.  Check the man page for gs
and gv.

John Strumila


-----Original Message-----
From: Mathieu Ros [mailto:mathieu at lecastor.net]
Sent: Monday, 7 May 2001 9:13 PM
To: liste R
Subject: [R] postscript problem


hello all,
when trying to produce a plot with the following code

postscript("g6-5000-0705-b.ps")
par(mfrow=c(4,1))
for (i in 1:4) {
  somc<-cumsum(betaC[,i])/c(1:N)
  plot(somc,ylim=c(min(somc),max(somc)));
}
dev.off()

I get a postscript file g6-5000-0705-b.ps, but if I try to open it
with ghostscript, or to convert it to pdf, I get the following error :

Error: /invalidfont in findfont
Operand stack:
   Helvetica   Font   Helvetica   236270   Helvetica   --nostringval--
Courier   NimbusMonL-Regu
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--    false   1   %stopped_push   1   3   %oparray_pop
.runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--   1   3   %oparray_pop   2   3
%oparray_pop   --nostringval--   --nAladdin Ghostscript 6.0: Unrecoverable
error, exit code 1
ostringval--   --nostringval--   --nostringval--   --nostringval--   false
1   %stopped_push   5   4   %oparray_pop   --nostringval--
--nostringval--   --nostringval--   1   -1   1   --nostringval--
%for_neg_int_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:946/983(ro)(G)--   --dict:0/20(G)--   --dict:90/200(L)--
--dict:16/24(G)--   --dict:946/983(ro)(G)--
Current allocation mode is local
Last OS error: 2
Current file position is 1105
Error: PostScript interpreter failed in main window.


Any idea of what's happening ?
thanks,
 Mathieu

-- 
Mathieu Ros
DEA Mathématiques Appliquées
Laboratoire de Génétique Cellulaire
INRA-Toulouse [05 6128 5119]

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