jupyter-xeus / xeus-r

Jupyter kernel for the R programming language
Other
41 stars 5 forks source link

enable internal web server #22

Closed romainfrancois closed 9 months ago

romainfrancois commented 9 months ago

To serve help pages, vignettes, etc ...

IRkernel uses (a variant of) this to have vignettes open in a separate window:

print.vignette <- function(x, ...) {
  utils:::print.vignette(x, ...)
  Sys.sleep(0.5)
}

but it seems the internal web server is not responding to requests. The web server is started, but it seems requests are blocked. We can have a look at how this is handled in Rstudio.

SylvainCorlay commented 9 months ago

Ah, I don't think we should start a webserver in the kernel 😄 Kernels can also be on remote machines. Let's talk about how this could works.

romainfrancois commented 9 months ago

That makes sense. I'll open another issue for handling just the vignettes, and the web server is not needed for the help pages I believe.