gensim <- sklearn <- ldavis <- bi <- NULL
.onLoad <- function(...) {
gensim <<- reticulate::import("gensim", delay_load = TRUE, convert = FALSE)
sklearn <<- reticulate::import("sklearn", delay_load = TRUE, convert = FALSE)
ldavis <<- reticulate::import("pyLDAvis", delay_load = TRUE, convert = FALSE)
bi <<- reticulate::import_builtins()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.