Description Usage Arguments Value
Run a blocking command in a child R session (for example a file server or shiny app)
1 2 | run_servr(directory = ".", port = 4848,
code = "servr::httd(dir='%s', port=%d)")
|
directory |
path that the server should map to. |
port |
port number to _attempt_ to run server on. |
code |
R code to execute in a child session |
port number of the successful attempt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.