R built in Web server
问题 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 "http://localhost:8080") : python -m SimpleHTTPServer 8080 I'm aware of Rook but I look for a simple solution. 回答1: 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),