Description Usage Arguments Value Examples
Respond with a static file
1 | staticView(staticDir, urlPath)
|
staticDir |
Location of the static files on the server. |
urlPath |
URL path to the static files. |
A response object or NULL if the file is not found.
1 2 3 4 | ## Not run:
staticFun <- staticView("/var/www/static/", "/static/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.