This case is probably the same as in https://github.com/nx10/httpgd/issues/142. When httpgd is used via RServe (it's a proxy library which allows calling R functions via socket) web server is hanged after first plot. Only first thumbnail is displayed. Any other successive plots have no effect. Refreshing a browser hangs.
To Reproduce
Install RServe and RSclient packages.
install.packages(c("Rserve","RSclient"))
In first R session:
> library(Rserve)
> run.Rserve(port=56789)
-- running Rserve in this R session (pid=1636), 1 server(s) --
(This session will block until Rserve is shut down)
URL after calling hgd() is displayed in the first session.
> library(Rserve)
> run.Rserve(port=56789)
-- running Rserve in this R session (pid=1636), 1 server(s) --
(This session will block until Rserve is shut down)
httpgd server running at:
http://127.0.0.1:49117/live?token=Rlx7D4Rm
Describe the bug
This case is probably the same as in https://github.com/nx10/httpgd/issues/142. When
httpgd
is used via RServe (it's a proxy library which allows calling R functions via socket) web server is hanged after first plot. Only first thumbnail is displayed. Any other successive plots have no effect. Refreshing a browser hangs.To Reproduce
Install RServe and RSclient packages.
In first R session:
In the second R session:
URL after calling
hgd()
is displayed in the first session.Expected behavior
http server shouldn't hang.
Screenshots
Environment