Plot을 이미지파일로 저장

Published by onesixx on

path2save <- file.path("~","pictures","test.jpg")
 
jpeg(path2save)
\tplot(iris)
dev.off()
ggsave("sixxplot.png", 
       width=16, height=16, units="cm", type="cairo")
Categories: R ggplot2

onesixx

Blog Owner