Should R open a browser? If yes, this
function will attempt to create a local file server via
the servr package. This is necessary since the javascript
needs to access local files and most browsers will not
allow this.
as.gist
should the vis be uploaded as a gist? Will
prompt for an interactive login if the GITHUB_PAT
environment variable is not set. For more details, see
https://github.com/ropensci/gistr#authentication.
...
arguments passed onto
gistr::gist_create
Value
An invisible object.
Details
This function will place the necessary html/js/css files
(located in 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.)