Since R 2.13, R comes with a built-in web server. Is there a simple way to create a local web server using R with a custom port number?
In python it will be (to use \"
This is not an answer, but some places to get started.
If we run R from terminal (by typing R
), then run help.start()
, it will start a local host and open it in the browser. On mine, it opens http://127.0.0.1:16371/doc/html/index.html. This at least proves that it's possible to open a localhost in R without any external packages.
I have found some of the code that makes this happen in the R Source Code.