On Windows, use ggsave, or if not using ggplot2, use Cairo. Linux's png output device has antialiasing.