Blog Archives

Combining pages of JSON data with jsonlite and plyr

July 24, 2014
By
Combining pages of JSON data with jsonlite and plyr

The jsonlite package is a JSON parser/generator for R which is optimized for pipelines and web APIs. It is used by the OpenCPU system and many other packages to get data in and out of R using the JSON format. A bidirectional mapping One of the main strenghts of jsonlite is that it...

Read more »

Recording of OpenCPU talk at #useR2014

July 9, 2014
By
Recording of OpenCPU talk at #useR2014

A recording of the useR! 2014 prentation about OpenCPU is now available on Youtube. This talk gives a brief (20 minute) motivation and introduction to some of the high level concepts of the OpenCPU system. The video contains mostly screen recor...

Read more »

The future of R on the web at #user2014

June 27, 2014
By
The future of R on the web at #user2014

The schedule and abstracts for useR! 2014 have been posted on the conference website. Session 2 (tuesday 1pm) of the Kaleidoscope track will feature a fantastic set of talks about R and the web, including RCloud (Gordon Woodhull, AT&T), Ope...

Read more »

Deploying a scoring engine for predictive analytics with OpenCPU

June 23, 2014
By
Deploying a scoring engine for predictive analytics with OpenCPU

TLDR/abstract: See the tvscore demo app or this jsfiddle for all of this in action. This post explains how to use the OpenCPU system to setup a scoring engine for calculating real time predictions. In our example we use the predict.gam function from the mgcv package to make predictions based...

Read more »

Paper: The OpenCPU system – towards a universal interface for scientific computing through separation of concerns

June 20, 2014
By
Paper: The OpenCPU system – towards a universal interface for scientific computing through separation of concerns

This week a new paper appeared on arXiv titled: The OpenCPU System: Towards a Universal Interface for Scientific Computing through Separation of Concerns. It is based on a chapter of my thesis and provides a conceptual introduction to embedded...

Read more »

OpenCPU Gem for Ruby

May 22, 2014
By
OpenCPU Gem for Ruby

The guys from roqua.nl are working on a OpenCPU wrapper Gem. This simple API client provides a pretty nice basis for building R web applications with Ruby. A minimal example from the readme: client.execute :digest, :hmac, { key: 'foo', object: 'bar', algo: 'md5' } # => Which performs the following JSON RPC...

Read more »

OpenCPU release 1.3 and 1.4

April 20, 2014
By
OpenCPU release 1.3 and 1.4

After a few months of testing we present OpenCPU versions 1.3 and 1.4. These releases do not introduce any major changes in the OpenCPU HTTP API but focus entirely on performance, reliability and security to support long running servers. The on...

Read more »

Getting ready for OpenCPU 1.3

March 17, 2014
By
Getting ready for OpenCPU 1.3

The OpenCPU public demo server and ocpu.io have been upgraded to an early version of the upcoming OpenCPU 1.3 release. This release is scheduled for April 17 along with Ubuntu 14.04 (Trusty). By deploying it on the public demo server we get som...

Read more »

OpenCPU 1.2.3 release

March 12, 2014
By
OpenCPU 1.2.3 release

A new version of OpenCPU was released to CRAN and Launchpad. Besides some minor bugfixes, the single-user has better support for configuration. By default, the single-user server will now load configuration from the following file: path.expand("~/.opencpu.conf") If this file does not exist, the default configuration is used. Future plans This is likely the...

Read more »

Release of jsonlite 0.9.4

March 2, 2014
By
Release of jsonlite 0.9.4

A new version of the jsonlite package was released to CRAN. In addition to adding small new features, this release cleans up code and documentation. Some annoying compiler warnings inherited from RJSONIO are fixed and the reference manual is a bit more concise. Also some new examples of public JSON...

Read more »