## standard handler serving all files in the current working directory
## and consults index.html in directories if no file is specified.
Rserve.http.add.static("/", getwd(), "index.html", TRUE)
## start the server with:
## run.Rserve(http.port=8080, qap=FALSE)
Run the code above in your browser using DataLab