serVis(json, out.dir = tempfile(), open.browser = interactive(), as.gist = FALSE, ...)
gistr::gist_create
system.file("htmljs", package = "LDAvis")
) in a directory specified
by out.dir
, start a local file server in that directory (if necessary),
and (optionally) open the default browser in this directory.
If as.gist=TRUE
, it will attempt to upload these files as a gist (in this
case, please make sure you have the gistr package installed as well as your
'github.username' and 'github.password' set in options.)
## Not run:
# # Use of serVis is documented here:
# help(createJSON, package = "LDAvis")
# ## End(Not run)
Run the code above in your browser using DataLab