graphics - How to print a large plot to a small file from R on NetBSD? -
i using ggplot2 plot relatively large dataset on remote server (netbsd), because local machine not have sufficient memory job. method have used save smaller datasets on local machine not working on remote server. here's want do:
ggsave(filename="myplot.png", plot=p) the trouble when try on server, pops open x11 window , warning messages x not supporting transparency, along empty plot.
i can save plot pdf, file size ends being in hundreds of megabytes, presumably because pdf preserving each of millions of semi-transparent points in plot. so, given need use transparency deal over-plotting, how can save plot image file not bigger couple mb?
Comments
Post a Comment