getAppRoot | R Documentation |
Returns the working directory set at startup.
getAppRoot()
Default deployed path is /srv/connect/apps/<DIRECTORY_NAME>
.
path
Sys.getenv("PWD") on shinyapps.io
> getAppRoot()
[1] "/srv/connect/apps/Sample_App"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.