Learn R Programming

rsconnect (version 0.8.18)

setProperty: Set Application property

Description

Set a property on currently deployed ShinyApps application.

Usage

setProperty(
  propertyName,
  propertyValue,
  appPath = getwd(),
  appName = NULL,
  account = NULL,
  force = FALSE
)

Arguments

propertyName

Name of property to set

propertyValue

Nalue to set property to

appPath

Directory or file that was deployed. Defaults to current working directory.

appName

Name of application

account

Account name. If a single account is registered on the system then this parameter can be omitted.

force

Forcibly set the property

Examples

Run this code
# NOT RUN {
# set instance size for an application
setProperty("application.instances.count", 1)

# disable application package cache
setProperty("application.package.cache", FALSE)

# }

Run the code above in your browser using DataLab