pr_static | R Documentation |
plumber
objectAdd a static route to the plumber
object
pr_static(pr, path, direc)
pr |
A Plumber API. Note: The supplied Plumber API object will also be updated in place as well as returned by the function. |
path |
The mounted path location of the static folder |
direc |
The local folder to be served statically |
## Not run:
pr() %>%
pr_static("/path", "./my_folder/location") %>%
pr_run()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.