带有希伯来语标签的 ggplot

Bas*_*l.D 5 r ggplot2 shiny

我试图在 x 轴是Hebrew 时方式显示。我的代码:R

#server
shinyServer(  
  function(input, output, session) { 
    output$Plot <- renderPlot({
      temp<-data.frame(x=c("?????","???","?????"),y=c(1,2,3))
      ggplot(temp, aes(x = x, y = y)) + geom_point() 
    })
  })

#ui
shinyUI(fluidPage(
  sidebarLayout(
    sidebarPanel(), 
    mainPanel("main panel", 
      plotOutput('Plot'))
  )
))
Run Code Online (Sandbox Code Playgroud)

我得到的情节是: 在此处输入图片说明

x 轴上的字母顺序错误。

外面的相同情节shiny没有问题。

知道如何解决这个问题吗?

谢谢