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

2004-10-15 Thread Pfaff, Bernhard
 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  
major2  
minor0.0
year 2004   
month10 
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
 
 __
 [EMAIL PROTECTED] 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}}

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


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

2004-10-15 Thread Marc Schwartz
On Fri, 2004-10-15 at 09:13, [EMAIL PROTECTED] 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

Hey Ivo!

No problems here using R 2.0.0 on 32 bit Intel FC2. Both plots are fine.

I don't have a 1.9.1 install at the moment, but I would guess that we
would have heard about the problem prior to this.

That suggests a possible issue with your install or a change of some
sort with 64 bit R. Though again, I suspect other 64 bit users would
have commented on this already...

HTH,

Marc Schwartz

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


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

2004-10-15 Thread Prof Brian Ripley
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 [EMAIL PROTECTED] 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
 
 __
 [EMAIL PROTECTED] 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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


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

2004-10-15 Thread Christopher Swingley
/iaw,

* [EMAIL PROTECTED] [2004-Oct-15 06:13 AKDT]:
 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();

Version 1.9.1  (2004-06-21), AMD64, Debian amd64 unstable port.

The plot I produced using these commands had all the numbers and lables.  
I used 'xpdf' version 3.00 to display the plot.  Maybe it's your PDF 
viewer, rather than R?

Chris
-- 
Christopher S. Swingley  email: [EMAIL PROTECTED] (work)
Intl. Arctic Research Center[EMAIL PROTECTED] (personal)
University of Alaska Fairbanks   www.frontier.iarc.uaf.edu/~cswingle/

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


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

2004-10-15 Thread ivo_welch-rstat8783
Hi:  Thank you everyone.  You were all correct.  This turns out to be a 
viewer bug---and even more likely a viewer installation bug, not an 
xpdf bug, much less an R bug.  Apologies for having wasted everyone's 
time.

Regards, /ivo
---
ivo welch
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html