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

Pfaff, Bernhard Bernhard.Pfaff at drkw.com
Fri Oct 15 16:37:59 CEST 2004


> 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();
> 

Dear Ivo,

although I do not want to consider myself as an R wizard, but rather a
helpful soul and because you have provided R-code suited for direct
execution as it should be :-), here is my answer:

in both devices the numbers are printed below the axes. This is on:

platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    2              
minor    0.0            
year     2004           
month    10             
day      04             
language R              


HTH,
Bernhard

ps: Could the problem be related to your pdf encodings?
> 
> 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
> 


--------------------------------------------------------------------------------
The information contained herein is confidential and is inte...{{dropped}}




More information about the R-help mailing list