[R] Strange behaviour of R graphics copied to PowerPoint

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Jun 3 13:58:29 CEST 2013


I have not seen this particular problem, but I have seen other problems and I tend to export bitmaps or pdf files as a result.

Note that a reproducible example is usually required to to obtain help on this list, and posting in HTML format is bad because it mutilates example code, so fix your email client. Please read the Posting Guide for more etiquette tips.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

"Erling Johan Frøysa" <erling.froysa at gmail.com> wrote:

>Hello,
>
>I am using R to create graphics, especially to plot time series charts.
>These charts are then copied as metafiles (for best quality) to a
>PowerPoint
>presentation and then saved to PDF (via the "Save As" dialog").
>
>Attached is two pictures. The first picture shows how my chart looks
>like in
>the R Graphics window, and the second picture shows how the chart
>becomes
>after saving it to PDF.
>
>< http://r.789695.n4.nabble.com/file/n4668522/R.png>
>
>< http://r.789695.n4.nabble.com/file/n4668522/Rppt.png>
>
>As you can see. After saving the metafile to PDF via PowerPoint, some
>straight lines appears (it seems like all of the lines has the same
>origin
>in the upper left corner and ends somewhere on the times series line).
>This
>happens in both plot() and ggplot(). The problem appears more often
>when
>using daily data in my time series. With monthly data the problem don't
>exist.
>
>Have anyone experienced this before? Do you think the problem is
>related to
>R or to Powerpoint?
>
>Thanks all,
>
>E
>
>	[[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.



More information about the R-help mailing list