Learn R Programming

Rsconctdply (version 0.1.3)

rsconctdply: Deploys Multiple Shiny Apps using Configuration File

Description

Deploys multiple apps (App1, App2,...AppN) to multiple user accounts and server locations on JSON file.

Usage

rsconctdply(filedir)

Arguments

rsconctdply

Name of the function

filedir

Web or local directory path for json file

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
#Files on Web
rsconctdply("https://api.myjson.com/bins/o8k2s")

#Files available locally
rsconctdply("~/rconnect_dir.json")

Json file Format:
sample file name with structure: "rconnect_dir.json"

{
  "App1": {
    "Server_url": "https://example1.com:443",
    "Server_NAME": "example1",
    "account": "user1",
    "appDir": "~/location1/"
  },
  "App2": {
    "Server_url": "https://example2.com:123",
    "Server_NAME": "example2",
    "account": "user2",
    "appDir": "~/location2/"
  }
}
# }

Run the code above in your browser using DataLab