cpsievert / LDAvis

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

LDAvis in Jupyter Notebook #57

Closed cschwem2er closed 7 years ago

cschwem2er commented 8 years ago

Hi,

I'm currently working with the R-kernel for Jupyter Notebooks and try to include LDAvis outputs in such notebooks. Unfortunately this does not work in comparison to usual plots which work flawlessly. It only works when the visualisation is opened in a new browser windows.

The python adapation pyLDAvis offers a little helper function with which visualisations can directly be included. Is this also possible for the R version?

Cheers

cpsievert commented 7 years ago

You could use serVis() to write the HTML/JS/JSON to disk, then embed via an <iframe>