Skip to content

Multiple wordclouds not plotting in 0.2.1 #34

@AdamSpannbauer

Description

@AdamSpannbauer

I created a simple example before to demonstrate an issue with hover info in previous versions (#18). This example no longer works in the newest version on CRAN. When I run this only one of the 4 wordclouds is plotted in the shiny app.

I have not yet had time to investigate what's causing the issue

Small reproducible example.

library(shiny)
library(wordcloud2)
shinyApp(
  ui=shinyUI(fluidPage(
    fluidRow(
      column(width=6,align="center", wordcloud2Output("my_wc")),
      column(width=6,align="center", wordcloud2Output("my_wc2"))
    ),
    wordcloud2Output("my_wc3"),
    wordcloud2Output("my_wc4")
  )),
  server=shinyServer(function(input,output,session){
    output$my_wc  = renderWordcloud2(wordcloud2(demoFreq))
    output$my_wc2 = renderWordcloud2(wordcloud2(demoFreq))
    output$my_wc3 = renderWordcloud2(wordcloud2(demoFreq))
    output$my_wc4 = renderWordcloud2(wordcloud2(demoFreq))
  })
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions