Getting High Resolution Image from R

Hi all,

I have tried different way of exporting my image but quality is usally low, especially by the time I transfer those image to word.

Please I know there is a magic around getting the best of Image and transferring them to word without losing the quality of the image! Can any help with the trick.

Thanks in anticipation.

the absolute lossless way of exporting a graph is to save the plot as a vector graph. And then use insert picture from device in word to insert the vector graph is clear enough for me.

e.g.:

library(tidyverse)

mtcars %>% ggplot(aes(x = mpg)) +geom_point(aes(y = disp)) +geom_smooth(aes(y = disp))

ggsave("./plot.svg")

That was magical, thank you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.