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 \"
Take a look at Rook - it's on GitHub. About setting a port number, see ?tools::help.ports it accepts a vector of numbers (integers) and it will choose the first available one. There's also sinartra (CRAN, GitHub), but I'd rather go with Rook.
Rook
?tools::help.ports
sinartra