I am trying to export a simple plot to PDF from R, with a Greek letter, like this:
cairo_pdf("test.pdf") barplot(1, main = "\\u03C1") dev.