[R-SIG-Mac]When is PDF not PDF?
Don MacQueen
macq@llnl.gov
Thu, 31 Oct 2002 08:36:54 -0800
Sorry, I kind of jumped from dashed lines to hyphens in text. The
encoding='AdobeSTD' solved the hyphen problem for me.
But I just now did this little set of commands
> pdf('tmp.pdf',encoding='AdobeStd')
> plot(1:10,1:10)
> lines(1:10,1:10,lty=2)
> dev.off()
in R 1.6.0 on Solaris, and when I inserted tmp.pdf into PowerPoint X
the dashed line was there, as was the text. Also looked ok when I
used R 1.6.0 for Darwin/X.
-Don
>Hi,
>
>I'm creating PDF files in R to insert into a PowerPoint presentation
>on my Mac, OS X 1.5, shortly to be OS X 2. At first I was using R
>1.5.0 on Solaris but found that the font, Helvetica, failed to
>display when the file was inserted into PowerPoint. I had success
>when I created the PDF file in R 1.6.0 for MacOS (Mac OS X, not
>Darwin/X), but then when I added a dashed line to the graph, it
>failed to appear in PowerPoint. I can live for the moment without
>the dashed line, but I wonder if I've misunderstood something about
>the use of pdf(), or maybe plot() or lines().
>
>Thanks in advance,
>
>Gerry
>
>
>-----------------------------------------------------------------
>Gerry Brush, Ph.D.
>Department of Genetics
>Southwest Foundation for Biomedical Research
>P.O. Box 760549
>San Antonio, TX 78245-0549, USA
>Tel: (210) 258-9613
>Fax: (210) 670-3317
>E-mail: gbrush@darwin.sfbr.org
>-----------------------------------------------------------------
>
>_______________________________________________
>R-SIG-Mac mailing list
>R-SIG-Mac@stat.math.ethz.ch
>http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------