[R] which one give clear picture-pdf, jpg or tiff?

Cedric Laczny cedric.laczny at gmx.de
Fri Aug 20 10:07:24 CEST 2010


Hi Rosalina,

I created simple barplots with R and saved them as jpeg oder png. I wanted to 
use them in a LaTex-beamer presentation. The results were simply awful. They 
looked like if I had copied them out of some other document, thus "losing" 
most of the resolution.
However, saving the plot as pdf and using this in the beamer-presentation 
worked like a charm and the resolution was super-sharp. This is probably the 
point that Tim Gruene highlighted directly at the beginning in his answer.
Which format would be the best to integrate into Word? Unfortunately, I have 
no experience on that one.
My suggestion would be to create a sample graph in either of the formats and 
see what they look like compared to each other. I mean, it's your document and 
it should be pleasant to you at first ;)
If you should want to modify the plots later via some graphics-program (GIMP, 
Photoshop, you name it...), clearly pdfs are not widely, if they are at all, 
directly supported, so you must convert it to a different format like jpeg or 
png then...

Best,

Cedric

On Friday, 20. August 2010 05:32:46 Roslina Zakaria wrote:
> Hi,
> 
> I need some opinion.  I would like to use graph that I generate from R code
> and save it into word document.  Which format is better? pdf, jpeg or
> tiff?
> 
> Thank you.
> 
> 
> 
> 	[[alternative HTML version deleted]]



More information about the R-help mailing list