Blog Archives

OpenCPU release 1.4.5: configurable webhooks

November 9, 2014
By
OpenCPU release 1.4.5: configurable webhooks

OpenCPU 1.4.5 is a patch release that improves performance by taking advantage of latest versions of jsonlite, devtools, knitr, openssl, etc. Also new in this release is the option to pass build parameters for deploying on ocpu.io (or your own ...

Read more »

High performance JSON streaming in R: Part 1

November 5, 2014
By
High performance JSON streaming in R: Part 1

The jsonlite stream_in and stream_out functions implement line-by-line processing of JSON data over a connection, such as a socket, url, file or pipe. Thereby we can construct a data processing pipeline that can handle large (or unlimited) amounts of data with limited memory. This post will walk through some examples...

Read more »

Parsing multipart/form-data with webutils

October 29, 2014
By
Parsing multipart/form-data with webutils

As part of a larger effort to clean up and rewrite the opencpu package, some of the more general utilities will be moved into a new, separate package called webutils. The first release of webutils is now on CRAN. The package contains a simple ...

Read more »

jsonlite 0.9.13: high performance number formatting

October 24, 2014
By
jsonlite 0.9.13: high performance number formatting

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. This week version 0.9.13 appeared on CRAN which is the third release in a relatively short period focusing on performance optimization. Fast number formatting Version 0.9.11 and 0.9.12 had already introduced majors...

Read more »

Generating secure random numbers with openssl

October 23, 2014
By
Generating secure random numbers with openssl

I started working on a new R package with bindings for OpenSSL. The initial release is now available from CRAN. To install the package on Linux you need libssl-dev (Debian/Ubuntu) or openssl-devel (Fedora, RHEL, CentOS). For Mac and Windows, pr...

Read more »

jsonlite 0.9.12: now even lighter and faster

September 28, 2014
By
jsonlite 0.9.12: now even lighter and faster

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. This week version 0.9.12 appeared on CRAN which includes a completely rewritten json parser and more optimized C code for json generation. The new parser is based on yajl...

Read more »

jsonlite gets a triple mushroom boost!

September 5, 2014
By
jsonlite gets a triple mushroom boost!

The jsonlite package is a JSON parser/generator optimized for the web. It implements a bidirectional mapping between JSON data and the most important R data types, which allows for converting objects to JSON and back without manual data restructuring. This is ideal for interacting with web APIs, or to build pipelines...

Read more »

New in OpenCPU 1.4.4: session namespaces

August 24, 2014
By
New in OpenCPU 1.4.4: session namespaces

The OpenCPU system exposes an HTTP API for embedded scientific computing with R. This provides reliable and scalable foundations for integrating R based analysis and visualization modules into pipelines, web applications or big data infrastruct...

Read more »

CRAN release jsonlite 0.9.10 (RC)

August 19, 2014
By
CRAN release jsonlite 0.9.10 (RC)

The jsonlite package is a JSON parser/generator optimized for the web. It implements a bidirectional mapping between JSON data and the most important R data types. This is very powerful for interacting with web APIs, or to build pipelines where...

Read more »

Running OpenCPU server on Fedora and Enterprise Linux

August 14, 2014
By
Running OpenCPU server on Fedora and Enterprise Linux

Starting version 1.4.4, the OpenCPU cloud server can run on Redhat distributions, i.e. Fedora and Enterprise Linux (CentOS/RHEL). This post explains how to install and use OpenCPU on these systems. But before continuing I should emphasize that ...

Read more »