[R] pdf device --- axes labels text disappeared?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 15 16:51:51 CEST 2004


No problems under R 2.0.0 or 1.9.1 on that platform.

Are you *sure* this is a bug in the PDF and not in your pdf reader?
Please read the PDF source file to find out.  Mine has lines like

/F2 1 Tf 12.00 0.00 -0.00 12.00 68.40 47.52 Tm (0) Tj
/F2 1 Tf 12.00 0.00 -0.00 12.00 144.39 47.52 Tm (10) Tj
/F2 1 Tf 12.00 0.00 -0.00 12.00 223.73 47.52 Tm (20) Tj
/F2 1 Tf 12.00 0.00 -0.00 12.00 303.06 47.52 Tm (30) Tj
/F2 1 Tf 12.00 0.00 -0.00 12.00 382.39 47.52 Tm (40) Tj


On Fri, 15 Oct 2004 ivo_welch-rstat8783 at mailblocks.com wrote:

> 
> Dear R Wizards:  Running R 1.9.1. on amd64.
> 
> 
> Promise<- c(0,20,40); Expect<- c(0, 20, 0.2*20+.8*40 );
> 
> # this omits printing numbers on the axes labels.
> pdf(file = "bug.pdf" );
> plot(Promise, Expect, type="b", ylim=c(0,60));
> dev.off();
> 
> # this works
> postscript(file = "bug.eps" );
> plot(Promise, Expect, type="b", ylim=c(0,60));
> dev.off();
> 
> 
> apologies if this has already been noted elsewhere---I looked but did 
> not find it.  (probably googled for the wrong terms, if so.)  is this 
> my bug, or R's bug or my R installation bug?  help appreciated.
> 
> /iaw
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list