Apparently, resolution in plots is by default just 72 dpi. To increase res, I've used this:
tiff(file = "temp.tiff", width = 3200, height = 3200, units = "px", res = 800)
This does increase res, but just to 96 dpi. Is there a mistake in the code or a better way?