launch_api | R Documentation |
Launches an API in a new R process
launch_api(function_name, random_port = NULL)
function_name |
the folder name where the plumber API is located. This should be in inst/plumber/ |
random_port |
a numeric value used as a port |
callr result of the individual R process
Jorge Cimentada
## Not run: live_api <- launch_api("api_coveragedb") live_api$kill() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.