Viewing saved LDAvis plot from directory in browser

638 views Asked by At

I created an LDAvis figure using the text2veec package in R. Tried but failed to save it to my local directory as the fully interactive webpage that it is.

I get either a blank page in my browser or a static when save thee figure with the following code and try to open it in my browser, from the local directory I saved it to:

DIR = "LDAvisual"
lda_model$plot(out.dir = DIR,               
               open.browser = interactive(), 
               as.gist = TRUE)
# now you can serve it from other session
servr::httd(DIR)

How can I view the fully interactive LDAvis plot that I saved from R to my directory in my browser? I realize you can get a markdown version, but I am interested in saving the fully interactive plot as a webpage and opening it from my directory (without the need for R) in my browser (preserving the fully interactive functions., e.g., switching between topics)

0

There are 0 answers