cpsievert / LDAvis

R package for web-based interactive topic model visualization.
Other
557 stars 131 forks source link

Problem retrieving current topic and term clicks in Shiny per examples #104

Closed akilby closed 3 years ago

akilby commented 3 years ago

Thank you for this fabulous and useful package!

I am unable to retrieve the variables myChart_term_click and myChart_topic_click per the example for LDAvis and RShiny here. The example run on my machine (R version 4.0.2 on Mac OS 11.4, LDAvis v0.3.2 and Shiny v1.6.0) displays the slider, then two printed lines stating "NULL," then produces the LDAvis visualization. It appears that those variables, myChart_term_click and myChart_topic_click, are null.

A friend reproduced the same issue on his Windows machine.

Thank you in advance!

akilby commented 3 years ago

In updating my comment with the version number of LDAvis, I fixed my own issue. Installing version 0.3.5 using devtools rather than from CRAN fixes the issue:

devtools::install_github("cpsievert/LDAvis")