View source: R/accessory_functions.R
start_local | R Documentation |
Starts CEDARS locally from RStudio. This is a functional approach and is easier to implement than a full-fledged Shiny Server. Multiple users can access the same CEDARS project on the MongoDB server using separate local R sessions, however in that case MongoDB credentials would have to be shared to all. The best option for multi-user implementations is to use Shiny Server.
start_local(user, password, host, replica_set, port, database)
user |
DB user name. |
password |
DB password. |
host |
Host server. |
replica_set |
MongoDB replica set, if indicated. |
port |
MongoDB port. |
database |
MongoDB database name. |
Launches the CEDARS Shiny app locally (on the desktop computer).
## Not run:
start_local(user = 'John', password = 'db_password_1234', host = 'server1234', port = NA,
database = 'myDB')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.