Skip to content

Instantly share code, notes, and snippets.

@jandix
Created May 6, 2019 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jandix/011d69af35d919439f165019b27b56a8 to your computer and use it in GitHub Desktop.
Save jandix/011d69af35d919439f165019b27b56a8 to your computer and use it in GitHub Desktop.
The base file to start a plumber service.
# load router
r <- plumber::plumb("./router.R")
# start application
r$run(host="0.0.0.0",
port = 9090,
swagger = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment