Shiny - scatterD3 - 未显示的图例

时间:2015-12-04 22:16:21

标签: r shiny

我正在测试scatterD3和Shiny集成,发现了以下问题:

UI
...
box(width=12,title = "Gráficos", 
                           status = "primary", solidHeader = TRUE,
                           collapsible = TRUE,
                           column(width=12,scatterD3Output("chart1"))
SERVER
....
output$chart1 <- renderScatterD3({    
    scatterD3(x = total_booklets$indice_K, 
               y = total_booklets$indice_Q, 
              col_var = total_booklets$Booklet,
              size_var= (round(total_booklets$Peso_Insert*100,2)) , 
              size_range = c(10,500), 
              lab = total_booklets$Booklet, 
              xlab = "indice K (aceleracion)", 
              ylab= "indice Q (residuo)", 
              col_lab="Booklet",
              size_lab = "Peso (%) Insert",
              point_opacity = 0.7,
              transitions = TRUE)
  })

散点图显示但是没有变量Booklets的标签,也没有size_lab的图例。奇怪的是,当我在Rstudio中运行闪亮的应用程序时,它还会在查看器中显示所有传说。

当我停止闪亮的应用程序时,R会在控制台中显示警告: 警告信息: 在rm(list = as.character(handle),pos = .wsconns):   找不到对象'514026112'

如果我没有运行scatterD3图,则不显示该消息。

任何想法??? 提前致谢

0 个答案:

没有答案