rstudio / plumber

Turn your R code into a web API.
https://www.rplumber.io
Other
1.39k stars 256 forks source link

When run r$run(port=8000, it is not working #306

Closed francisliyy closed 6 years ago

francisliyy commented 6 years ago

I use another machine to run plumber, but when it starts up, it only output "Starting server to listen on port 8000", without "Running the swagger UI at http://127.0.0.1:8000/__swagger__/", then I can access the API, what happened? Nothing print out on the console image

francisliyy commented 6 years ago

thought no swagger output, it is still working

schloerke commented 6 years ago

swagger is set by default if the environment is interactive. When you run your server in a non interactive shell, make sure to turn it on manually.