I'm trying to save an SVG image to a file path containing Unicode characters. For example:
n = c(2, 3, 5)
s = c("aa", "bb", "cc")
b = c(TRUE, FALSE, TRUE)
df = data.frame(n, s, b)
svg("c:/נועם/plots.svg")
plot(df)
dev.off()
Running this with Rscript.exe fails with the following error:
Error in plot.new() : cairo error 'error while writing to output stream'
How can I make it work?