I have colleagues who use powerpoint. When I send my colleagues pdf files or ps files, powerpoint rejects them. Powerpoint does accept some eps files. I have been able to use pdf2ps to convert some pdf files into ps files, and then manually edit the ps file to eps files (following the comments in ?postscript, I change the first line from %!PS-Adobe-3.0 to %!PS-Adobe-3.0 EPSF-3.0 and remove the line %%DocumentMedia: letter 612 792 0 () () ) For pdf and ps files that don't come from R, this construction of an eps file is accepted by powerpoint. For pdf and ps and eps files from R, this does not work. powerpoint will not take the image. instead it holds the icon, and it is necessary to click on the icon during the powerpoint presentation. Clicking on the icon launches Adobe or ghostview to display the pdf or ps or eps file. Does anyone know a workaround that will get vector graphics from R into powerpoint? win.metafile is not acceptable. The resolution of emf files from R is worse than png files. Thanks Rich [[alternative HTML version deleted]]
Hello, I would avoid the use of vector files for presentation, as Powerpoint will display a rasterized version off the vectorized image (if I am not mistaken). I always directly use raster files, as png. For eps, I use the following command in R.> postscript(file='file.eps', onefile=FALSE, horizontal=FALSE,paper='special',...) Regards, Pascal 2013/7/24 Richard M. Heiberger <rmh@temple.edu>> I have colleagues who use powerpoint. When I send my colleagues pdf files > or ps files, powerpoint > rejects them. Powerpoint does accept some eps files. > > I have been able to use pdf2ps to convert some pdf files into ps files, and > then manually > edit the ps file to eps files (following the comments in ?postscript, I > change the first line from > %!PS-Adobe-3.0 > to > %!PS-Adobe-3.0 EPSF-3.0 > and remove the line > %%DocumentMedia: letter 612 792 0 () () > ) > > For pdf and ps files that don't come from R, this construction of an eps > file is accepted by powerpoint. > > For pdf and ps and eps files from R, this does not work. > powerpoint will not take the image. instead it holds the icon, and it is > necessary to click on the > icon during the powerpoint presentation. Clicking on the icon launches > Adobe or ghostview to display > the pdf or ps or eps file. > > Does anyone know a workaround that will get vector graphics from R into > powerpoint? > win.metafile is not acceptable. The resolution of emf files from R is > worse than png files. > > Thanks > Rich > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
On Tue, 23-Jul-2013 at 10:23PM -0400, Richard M. Heiberger wrote: |> I have colleagues who use powerpoint. When I send my colleagues pdf files |> or ps files, powerpoint |> rejects them. Powerpoint does accept some eps files. |> [...] |> Does anyone know a workaround that will get vector graphics from R into |> powerpoint? |> win.metafile is not acceptable. The resolution of emf files from R is |> worse than png files. Maybe worse than png files at the default resolution which is 72 dpi. Change that to something like 300 and nobody will see a jagged edge in a PowerPoint slide. HTH |> |> Thanks |> Rich |> |> [[alternative HTML version deleted]] |> |> ______________________________________________ |> R-help at r-project.org mailing list |> https://stat.ethz.ch/mailman/listinfo/r-help |> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html |> and provide commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.