SkillAgentSearch skills...

Opencpu

OpenCPU system for embedded scientific computation and reproducible research

Install / Use

/learn @opencpu/Opencpu
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

opencpu

Producing and Reproducing Results

CRAN_Status_Badge CRAN RStudio mirror downloads

A system for embedded scientific computing and reproducible research with R. The OpenCPU server exposes a simple but powerful HTTP api for RPC and data interchange with R. This provides a reliable and scalable foundation for statistical services or building R web applications. The OpenCPU server runs either as a single-user development server within the interactive R session, or as a multi-user Linux stack based on Apache2. The entire system is fully open source and permissively licensed. The OpenCPU website has detailed documentation and example apps.

Documentation

Cloud Server

To install the cloud server on Ubuntu Server:

#requires Ubuntu 22.04 (Jammy) or 20.04 (Focal)
sudo add-apt-repository -y ppa:opencpu/opencpu-2.2
sudo apt-get update 
sudo apt-get upgrade

#install opencpu server
sudo apt-get install -y opencpu-server

#optional
sudo apt-get install -y rstudio-server 

See the opencpu website for details how to install on other platforms.

Local Development server

To start the single-user development server in R:

library(opencpu)
ocpu_start_server()

Or to start an App:

ocpu_start_app("rwebapps/stockapp")
View on GitHub
GitHub Stars759
CategoryEducation
Updated10d ago
Forks126

Languages

R

Security Score

80/100

Audited on Mar 27, 2026

No findings