Error creating word cloud and making it available in shiny applications


#1

Hi. Has anyone made a word cloud using the wordcloud2 package in R and had problems when it was available in shiny app? When I change a selectInput, for example, the word cloud does not appear. It looks like it tries to render before it finishes the reactive that creates the corpus and the dataset of words and frequencies based on the selectInput.

Locally the application works normally, there are no errors in the word cloud, but in the shiny server the error mentioned above appears.

Thank you!


#2

Hi,

Would you be able to post the code for a reproducible example? I’ve used wordcloud2 with shiny and it worked for me at the time.

R


#3

Hi

You said wordcloud2 is used with shiny.

are you able to see complete word cloud at a time. if yes please post example.