Re: [Rd] Exposing native httpd server

2024-12-08 Thread Simon Urbanek
Jirko, > On Dec 9, 2024, at 8:57 AM, Jiří Moravec wrote: > > Dear Simon and Jeroen, > > thank you for your answers. I have to reiterate that I am out of my depth in > here. My knowledge of http is clicking links and not much beyond that. > > I will definitely look into `webutils` and `Rserve

Re: [Rd] Exposing native httpd server

2024-12-08 Thread Jiří Moravec
Hi Ben, yes, in this particular case, I am moving from `rmarkdown` and `servr` to `litedown` and (internal http server), which will remove 30 dependencies. ``` base = utils::installed.packages(priority = "base") |> rownames() litedown = tools::package_dependencies("litedown", recursive = TRUE

Re: [Rd] Exposing native httpd server

2024-12-08 Thread Ben Bolker
I absolutely appreciate the desire for minimalism. On the other hand Rserve has no dependencies other than R >= 1.5.0 (!!!), so you would in any case be cutting your dependencies way down (`servr` has 16 recursive dependencies of which 5 seem to be base/recommended, presumably this is where

Re: [Rd] Exposing native httpd server

2024-12-08 Thread Jiří Moravec
Dear Simon and Jeroen, thank you for your answers. I have to reiterate that I am out of my depth in here. My knowledge of http is clicking links and not much beyond that. I will definitely look into `webutils` and `Rserve`. One of the reason why I brought this issue is that I have a static s

Re: [Rd] Exposing native httpd server

2024-12-05 Thread Simon Urbanek
Jiří, in a sense there are two quite different issue that you are touching upon. On one hand, your request for exposing the http server is something I was pretty much expecting. In order to judge the appetite for it I have included the support for custom handlers back then as inofficial API spe

Re: [Rd] Exposing native httpd server

2024-12-05 Thread Jeroen Ooms
On Thu, Dec 5, 2024 at 2:43 AM Jiří Moravec wrote: > > R has a native HTTP server that is used for serving R help pages > interactively, at least on the loopback device (127.0.0.1) > > But all of the working are internal, not exposed to user and not documented. This has been available for a long