Waterloo Graphics is open-source and can be used from R.
Graphics can be copied and pasted in vector format to Word on Windows or
Mac.
There is also an SVG file save option that produces output with easy-to-use
object groupings for editing an Adobe Illustrator/Inkscape.
(as well as HTML5/Processi
Sorry I'm a little late to the party on this one, but I thought I'd
throw in my solution.
I usually produce my plots with the svg device. Ex:
plot(1:100,(1:100)^2)
svg(filename="example.svg",height=3.83,width=3.83,pointsize=10)
plot(1:100,(1:100)^2,xlab="x",ylab=expression("x"^2))
dev.off()
Wor
Another nice thing about your solution is that circles look like circles,
and not like diamonds (when viewed on screen).
Thanks.
Kevin Wright
On Mon, Dec 16, 2013 at 8:02 PM, Steve Taylor wrote:
> Unfortunately the win.metafile() device does not support semi-transparent
> colours, which I lik
Another option to consider if your goal is to create a word file with
1 or more plots in it (possibly intermingled with text and other
output) is to use the knitr or pander packages (or odfWeave or sweave
or ...). This way you can create a script (or template file) that
sets a couple of options up
Thanks to everyone for the helpful suggestions. -- David.
On Mon, Dec 16, 2013 at 7:23 PM, Steve Taylor wrote:
> > From: Duncan Murdoch...
>
> > Don't use a bitmap format (png).
> I disagree. Each vector format comes with its own problems.
>
> > Don't produce your graph in one format (scree
> From: Duncan Murdoch...
> Don't use a bitmap format (png).
I disagree. Each vector format comes with its own problems.
> Don't produce your graph in one format (screen display), then convert to
> another (png). Open the device in the format you want for the final file.
Agreed.
> Use a vect
Unfortunately the win.metafile() device does not support semi-transparent
colours, which I like using.
In my experience, the best way to get R graphics into Word is to use compressed
high-resolution tiff, like this:
word.tif = function(filename="Word_Figure_%03d.tif", zoom=4, width=17,
height=
thropology
> Texas A&M University
> College Station, TX 77840-4352
>
>
>
>
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan
> Murdoch
> Sent: Sunday, December 15, 2013 5:24 PM
> To: davi
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Duncan
Murdoch
Sent: Sunday, December 15, 2013 5:24 PM
To: david hamer; r-help@r-project.org
Subject: Re: [R] Exporting R graphics into Word without losing
graph quality
On 13-12-15 6:00
On 16/12/13 12:23, Duncan Murdoch wrote:
[After a number of other "Don'ts"]
Don't trust the preview to tell you the quality of the graph, try
printing the document.
Word isn't quite as bad as it appears.
Don't use Word.
Fortune?
cheers,
Rolf Turner
_
On 13-12-15 6:00 PM, david hamer wrote:
Hello,
My x-y scatterplot produces a very ragged best-fit line when imported into
Word.
Don't use a bitmap format (png).
Don't produce your graph in one format (screen display), then convert to
another (png). Open the device in the format you want for
And possibly better, argument 'res', e.g.
png("R.graph.png", width=1200, height = 700, res=144)
plot(...)
dev.off()
Default corresponds to res=72.
/Henrik
On Sun, Dec 15, 2013 at 3:13 PM, Henrik Bengtsson wrote:
> See ?png and argument 'pointsize'. You can increase that as you
> increase the
See ?png and argument 'pointsize'. You can increase that as you
increase the dimensions of the output image.
/Henrik
On Sun, Dec 15, 2013 at 3:00 PM, david hamer wrote:
> Hello,
>
> My x-y scatterplot produces a very ragged best-fit line when imported into
> Word.
>
>
>
> * >plot (data.file$x,
Hello,
My x-y scatterplot produces a very ragged best-fit line when imported into
Word.
* >plot (data.file$x, data.file$y, type = "p", las=1, pch=20,ylab =
expression("Cover of Species y" ~ (m^{2}~ha^{-1} )),xlab =
expression("Cover of Species x" ~ (m^{2}~ha^{-1})) )>lines
14 matches
Mail list logo