apps: OpenCPU Application

appsR Documentation

OpenCPU Application

Description

Manage installed OpenCPU applications. These applications can be started locally using ocpu_start_app or deployed online on ocpu.io.

Usage

install_apps(repo, ...)

remove_apps(repo)

installed_apps()

available_apps()

update_apps(...)

Arguments

repo

a github repository such as user/repo, see remotes::install_github.

...

additional options for install_github

Details

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.

See Also

Other ocpu: ocpu-server

Examples

## 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)

opencpu documentation built on Oct. 4, 2024, 5:08 p.m.

Related to apps in opencpu...