问题描述
我想用annotate写1
library(ggplot2)
# Only greek letters
ggplot() +
annotate(geom = "text",label = "1*alpha*beta*t",parse = TRUE,x = 0,y = 0)
# Greek letters + unicode
ggplot() +
annotate(geom = "text",label = "1* \U226A *alpha*beta*t",y = 0)
Error in parse(text = text[[i]]) : <text>:1:4: unexpected input
1: 1* «
^