<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/announcing-opencpu-2-0-building-and-deploying-scalable-r-apps-and-services/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.opencpu.org/posts/opencpu-2-0/"> OpenCPU</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p> <a rel="nofollow" href="https://www.opencpu.org/posts/opencpu-2-0" target="_blank"><img alt="opencpu logo" src="https://i1.wp.com/www.opencpu.org/images/stockplot.png?w=456&ssl=1" data-recalc-dims="1"></a></p>
<p>OpenCPU 2.0 provides the most robust system available today for building and deploying R based apps and services. The server exposes a simple <a rel="nofollow" href="https://www.opencpu.org/api.html" target="_blank">HTTP API</a> for calling with R functions, scripts and managing data, which provides a very solid basis for intergrating R into any environment. The OpenCPU 2.0 cloud server naturally scales up to many concurrent users and is entirely available under the business friendly Apache2 license – at no extra cost.</p>
<p>The 2.0 branch is the biggest upgrade to the system since the 1.0 release 4 years ago. The server API is backwards compatible so that existing clients and apps will keep working. Internals have been rewritten to make development easier and further enhance the performance and robustness of the server system.</p>
<p>The version 2.0.3 is available from <a rel="nofollow" href="https://cran.r-project.org/package=opencpu" target="_blank">CRAN</a>, <a rel="nofollow" href="https://www.opencpu.org/download.html" target="_blank">Launchpad</a>, <a rel="nofollow" href="https://hub.docker.com/u/opencpu" target="_blank">Dockerhub</a>, <a rel="nofollow" href="https://software.opensuse.org/download.html?project=home:jeroenooms:opencpu-2.0&package=opencpu" target="_blank">OBS</a> and the <a rel="nofollow" href="https://archive.opencpu.org/" target="_blank">server archive</a>. Below a brief overview of improvements in OpenCPU 2.0!</p>
<h2>OpenCPU Apps</h2>
<p>The 2.0 version makes it even easier to build and deploy R webapps. An app in OpenCPU is simply an R package which may include a web frontend that interacts with R functions from the same package via the OpenCPU API. By using the R package format as a container for shipping web applications OpenCPU apps natively support for dependencies, namespaces, embedded data, documentation, etc.</p>
<p>Apps can be run or deployed in many ways.</p>
<ul>
<li>Run or develop locally using the single user server in R using <code>opencpu::ocpu_start_app()</code></li>
<li>Deploy for free on <code></code></ul>