I would like to keep a graph in which text (for example, in the title) is used in Hebrew. Attempting to do the following will not:
pdf("temp.pdf")
plot(1, main = "שלום")
dev.off()
svg("temp.svg")
plot(1, main = "שלום")
dev.off()
Although use:
png("temp.png")
plot(1, main = "שלום")
dev.off()
Gives the correct result.
Is there any way to fix it for pdf and svg?
Thank.
source
share