在ggplot2中绘制欧元符号€?

jua*_*mah 3 r ggplot2 euro

欧元符号显示为...PDF输出

ggplot() + theme_bw() + geom_line() + scale_y_continuous(formatter = "euro")
Run Code Online (Sandbox Code Playgroud)

jua*_*mah 7

ISOLatin9.enc启动PDF图形时使用编码

pdf(encoding = "ISOLatin9.enc")
Run Code Online (Sandbox Code Playgroud)

http://stat.ethz.ch/R-manual/R-patched/library/graphics/html/text.html上说欧元符号可以选择ISO-8895-15(Latin-9),其中欧元为字符