cpsievert / LDAvis

R package for web-based interactive topic model visualization.
Other
557 stars 131 forks source link

serVis is not handling over the server config parameters #72

Closed kbzsl closed 7 years ago

kbzsl commented 7 years ago

I was trying to set the the host to 0.0.0.0 (to listen to all IP addresses), but this parameter is not passed over to the servr::httd function. For example, the serVis(d.json, host = "0.0.0.0") is not working (the same applies to any server config parameter).

Only the directory parameter is passed to the httd function: servr::httd(dir = out.dir)

cpsievert commented 7 years ago

The ... in serVis() are passed to gistr::gist_create(), but you could do this:

serVis(json, "myvis", FALSE)
sevr::httd("myvis", host = "0.0.0.0")