Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread Wenjie Lee
Thanks all for your reply, Wenjie On Sat, Dec 19, 2009 at 4:20 PM, Gabor Grothendieck wrote: > You can: > > 1. Right click the graphic and choose copy metafile or save metafile. > 2. Use savePlot after producing your plot. See ?savePlot > 3. Use win.metafile(...); plot(...); dev.off() > > > On

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread Gabor Grothendieck
You can: 1. Right click the graphic and choose copy metafile or save metafile. 2. Use savePlot after producing your plot. See ?savePlot 3. Use win.metafile(...); plot(...); dev.off() On Sat, Dec 19, 2009 at 1:28 PM, Wenjie Lee wrote: > Hi R Users, > > I'm using following sample code to save pn

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread S Devriese
On 12/19/2009 09:06 PM, Wenjie Lee wrote: > Thanks David and Duncan, > > pdf()/eps() are good options. Can you please tell which function produces > .wmf images. > > I finally want to copy/insert these images into word file (.doc) and submit > it to my adviser, and keep a possibility to re-size p

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread Duncan Murdoch
On 19/12/2009 3:06 PM, Wenjie Lee wrote: Thanks David and Duncan, pdf()/eps() are good options. Can you please tell which function produces .wmf images. win.metafile() (on Windows only, I think) produces .wmf images. I finally want to copy/insert these images into word file (.doc) and subm

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread Wenjie Lee
Thanks David and Duncan, pdf()/eps() are good options. Can you please tell which function produces .wmf images. I finally want to copy/insert these images into word file (.doc) and submit it to my adviser, and keep a possibility to re-size pictures. Is it possible to add these .pdf / .eps images

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread Duncan Murdoch
On 19/12/2009 1:28 PM, Wenjie Lee wrote: Hi R Users, I'm using following sample code to save png plots. png(file="sample.png", width=8, height=6) Then I copy or use "insert pictures" function to get the image into MS Word. After copying, if I try to stretch or re-size the image it starts getti

Re: [R] Inserting .png plots in MS Word.

2009-12-19 Thread David Winsemius
On Dec 19, 2009, at 1:28 PM, Wenjie Lee wrote: Hi R Users, I'm using following sample code to save png plots. png(file="sample.png", width=8, height=6) Then I copy or use "insert pictures" function to get the image into MS Word. After copying, if I try to stretch or re-size the image it st

[R] Inserting .png plots in MS Word.

2009-12-19 Thread Wenjie Lee
Hi R Users, I'm using following sample code to save png plots. png(file="sample.png", width=8, height=6) Then I copy or use "insert pictures" function to get the image into MS Word. After copying, if I try to stretch or re-size the image it starts getting distorted. Is there a way to standardize