[R] postscript problem
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon May 7 14:35:13 CEST 2001
On Mon, 7 May 2001, Mathieu Ros wrote:
> 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 ?
No, but then there is too little here to go on: no R version, no
reproducible example ....
Just one idea: gs 6.0 was one of the least reliable recent versions.
Try upgrading to at least 6.01.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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