setProperty | R Documentation |
Set a property on currently deployed ShinyApps application.
setProperty(
propertyName,
propertyValue,
appPath = getwd(),
appName = NULL,
account = NULL,
server = NULL,
force = FALSE
)
propertyName |
Name of property |
propertyValue |
Property value |
appPath |
Directory or file that was deployed. Defaults to current working directory. |
appName |
Name of application |
account , server |
Uniquely identify a remote server with either your
user Use |
force |
Forcibly set the property |
This function only works for ShinyApps servers.
## Not run:
# set instance size for an application
setProperty("application.instances.count", 1)
# disable application package cache
setProperty("application.package.cache", FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.