Open frenkiboy opened 9 years ago
See https://github.com/yihui/servr/pull/21
Once this patch is accepted, it will be enough to just run httd()
instead of spawning a separate HTTP server. Note that httd()
is blocking, so we'd need to find a way to run it in a separate thread or similar.
Accepted now. Note it is not necessarily blocking -- you may httd(daemon = TRUE)
to start a daemonized server so it does not block the current R session.
@yihui thanks for accepting, and for the useful hint!
It seems to me that this is best done in servr.
When I find some time I'll try to write a patch for this file and submit it upstream as it seems to be generally useful.