> Can’t you just export a vector file and then let whatever other renderer (e.g. a browser) handle the antialiasing?
You can. In my experience, for good quality, it's best to output graphics from R as PDF and if you need a rasterized version, do that separately with pdftoppm or something with a dpi chosen based on where it will be shown.
You can. In my experience, for good quality, it's best to output graphics from R as PDF and if you need a rasterized version, do that separately with pdftoppm or something with a dpi chosen based on where it will be shown.