apps | R Documentation |
Manage installed OpenCPU applications. These applications can be started locally using ocpu_start_app or deployed online on ocpu.io.
install_apps(repo, ...)
remove_apps(repo)
installed_apps()
available_apps()
update_apps(...)
repo |
a github repository such as |
... |
additional options for |
OpenCPU apps are simply R packages. For regular users, apps get installed in a user-specific app library which is persistent between R sessions. This is used for locally running or developing web applications.
When running these functions as opencpu
user on an OpenCPU cloud server, apps
will be installed in the global opencpu server app library; the same library as used
by the OpenCPU Github webhook.
Other ocpu:
ocpu-server
## Not run:
# List available demo apps
available_apps()
# Run application from: https://github.com/rwebapps/nabel
ocpu_start_app("rwebapps/nabel")
# Run application from: https://github.com/rwebapps/markdownapp
ocpu_start_app("rwebapps/markdownapp")
# Run application from: https://github.com/rwebapps/stockapp
ocpu_start_app("rwebapps/stockapp")
# Run application from: https://github.com/rwebapps/appdemo
ocpu_start_app("rwebapps/appdemo")
# Show currently installed apps
installed_apps()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.