dselivanov / text2vec

Fast vectorization, topic modeling, distances and GloVe word embeddings in R.
http://text2vec.org
Other
852 stars 136 forks source link

how to add LDAVis plot into a Rmarkdown(Bookdown) page #148

Closed cmldyu closed 8 years ago

cmldyu commented 8 years ago

I noticed in your website text2vec.org you just run: _ldamodel$plot() and a visualization plot has been shown in the webpage but when i use the same parameter in Rmarkdown, all a get is just one message: Loading required namespace: servr with no plot rendered. How to do as you? Thx.

dselivanov commented 8 years ago

Hi, you can find all source code for text2vec.org at gh-pages branch. https://raw.githubusercontent.com/dselivanov/text2vec/gh-pages/topic_modeling.Rmd

cmldyu commented 8 years ago

thx!