[R] postscript problem
Mathieu Ros
mathieu at lecastor.net
Mon May 7 16:01:52 CEST 2001
>>>>> "PBR" == Prof Brian Ripley <ripley at stats.ox.ac.uk> disait:
PBR> 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 ?
PBR> No, but then there is too little here to go on: no R version,
PBR> no reproducible example ....
Sorry :|
version :
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 2.2
year 2001
month 02
day 26
language R
example :
postscript("pipo.ps")
pipo<-matrix(c(1:12),ncol=4)
par(mfrow=c(1,4))
for (i in 1:4){ plot(pipo[,i])}
dev.off()
PBR> Just one idea: gs 6.0 was one of the least reliable recent
PBR> versions. Try upgrading to at least 6.01.
well, there's problems with translation from ps to pdf too, so I don't
think ghostscript matters (?).
thanks for your reply,
Mathieu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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