Re: [R] PowerPoint

From: Marc Schwartz (via MN) <mschwartz_at_mn.rr.com>
Date: Sat 24 Jun 2006 - 01:52:32 EST

Has anyone tried this with OO.org's Impress or Writer on Windows to see if the same behavior occurs?

My recollection from prior experience on Windows (it's been a while) is that a subtle resize takes place when pasting/importing graphics into the aforementioned apps. You can right click on the graphic in the app and then select "Original Size" or something worded similarly on the graphic object formatting dialog window. Not sure if that is enough to get the lines back or if one has to go slightly larger than the original size to resolve the issue.

It also seems to me that there was some behavior on the R Windows graphic device relative to re-sizing the plot region and then doing the metafile copy and paste, but it has been long enough that my memory may not be intact (which my wife would suggest anyway.... ;-).

HTH, Marc Schwartz

On Fri, 2006-06-23 at 08:08 -0700, Berton Gunter wrote:
> I've always assumed that this was a rendering problem in the MS application,
> as the reappearance of the missing lines on re-sizing shows that that the
> necessary information **is** in the imported .wmf file, right?
>
> -- Bert
>
>
> > -----Original Message-----
> > From: r-help-bounces@stat.math.ethz.ch
> > [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Sundar
> > Dorai-Raj
> > Sent: Friday, June 23, 2006 7:55 AM
> > To: Johannes Ranke
> > Cc: r-help@stat.math.ethz.ch; Marc Bernard
> > Subject: Re: [R] PowerPoint
> >
> > Hi, all,
> >
> > (Sorry to highjack the thread, but I think the OP should also
> > know this)
> >
> > One of the plots Marc mentions is xyplot. Has anybody else on
> > this list
> > had a problem with lattice and win.metafile (or Ctrl-W in the
> > R graphics
> > device)? I will sometimes import wmf files (or Ctrl-V) with lattice
> > graphics into powerpoint and notice some of the border lines are
> > missing. I can re-size the plot to make the lines reappear
> > but have to
> > find just the right size to make it look right. This seems to be a
> > problem with PPT, XLS, and Word. I never have this problem with
> > traditional graphics (e.g. plot.default, etc.).
> >
> > I'm using Windows XP Pro with R-2.3.1 and lattice-0.13.8, though I've
> > also experienced the problem on earlier versions of R and earlier
> > versions of lattice.
> >
> > Thanks,
> >
> > --sundar
> >
> > Johannes Ranke wrote:
> > > Dear Bernard,
> > >
> > > if you use MS Powerpoint, it seems likely to me that you
> > are using the
> > > Windows version of R. Are you aware of the fact, that you can just
> > > right-click on any graph and copy it to the clipboard (copy
> > as metafile
> > > or similar).
> > >
> > > That way you get a vectorized version of the graph, which
> > you can nicely
> > > paste into Powerpoint and edit.
> > >
> > > Johannes
> > >
> > > * Marc Bernard <bernarduse1@yahoo.fr> [060623 13:40]:
> > >
> > >>Dear All,
> > >>
> > >> I am looking for the best way to use graphs from R (like
> > xyplot, curve ...) for a presentation with powerpoint. I
> > used to save my plot as pdf and after to copy them as image
> > in powerpoint but the quality is not optimal by so doing.
> > >>
> > >> Another completely independent question is the following:
> > when I use "main" in the xyplot, the main title is very
> > close to my plot, i.e. no ligne separate the main and the
> > plot. I would like my title to be well distinguished from the plots.
> > >>
> > >> I would be grateful for any improvements...
> > >>
> > >> Many thanks,
> > >>
> > >> Bernard,



R-help@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 Received on Sat Jun 24 02:17:46 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 24 Jun 2006 - 04:12:04 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.