Quantcast
Channel: OpenCPU
Browsing latest articles
Browse All 73 View Live

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

New jsonlite gets a major speed 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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

New package: curl. High performance http(s) streaming in R

A bit ago I blogged about new streaming features in jsonlite: library(jsonlite) diamonds2 <- stream_in(url("http://jeroenooms.github.io/data/diamonds.json")) In the same blog post it was also...

View Article

Image may be NSFW.
Clik here to view.

New features in jsonlite 0.9.14

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.14 appeared on CRAN which adds some handy...

View Article

Image may be NSFW.
Clik here to view.

Introducing V8: An Embedded JavaScript Engine for R

JavaScript is an fantastic language for building applications. It runs on browsers, servers and databases, making it possible to design an entire web stack in a single language. The OpenCPU JavaScript...

View Article

Image may be NSFW.
Clik here to view.

Interactive JavaScript in R with V8: a crossfilter example

In last weeks blog post introducing the new V8 package I showed how you can use context$eval and context$source to execute commands and scripts of JavaScript in R. It turns out that typing...

View Article


Image may be NSFW.
Clik here to view.

OpenCPU release 1.4.6: gzip and systemd

OpenCPU server version 1.4.6 has been released to launchpad, OBS, and dockerhub (more about docker in a future blog post). I also updated the instructions to install the server or build from source...

View Article

Image may be NSFW.
Clik here to view.

New in openssl 0.3: hash functions

This week version 0.3 of the openssl package appeared on CRAN. New in this release are bindings to the cryptographic hashning functions in OpenSSL. Not exactly ground breaking (hashing functions have...

View Article


Image may be NSFW.
Clik here to view.

curl 0.4 bugfix release

This week curl version 0.4 appeared on CRAN. This release fixes a memory bug that was introduced in the previous version, and which could under some circumstances crash your R session. The new version...

View Article

Image may be NSFW.
Clik here to view.

V8 version 0.4: console.log and exception handling

V8 version 0.4 has appeared on CRAN. This version introduces several new console functions (console.log, console.warn, console.error) and two vignettes: Introduction to V8 for R Using NPM packages in...

View Article


Image may be NSFW.
Clik here to view.

V8 version 0.5: typed arrays and sql.js

Earlier this month, V8 version 0.5 appeared on CRAN. This version adds support typed arrays as specified in ECMA 6 in order to support high performance computing and libraries compiled with...

View Article

Image may be NSFW.
Clik here to view.

Minimist: an example of writing native JavaScript bindings in R

A new package has appeared on CRAN called minimist, which implements an interface to the popular JavaScript library. This package has only one function, used for argument parsing. For example in RGui...

View Article

Image may be NSFW.
Clik here to view.

Introducing js: tools for working with JavaScript in R

A new package has appeared on CRAN called js. This package implements bindings to several popular JavaScript libraries for validating, reformatting, optimizing and analyzing JavaScript code. It builds...

View Article

Image may be NSFW.
Clik here to view.

Jade: a clean, whitespace-sensitive template language for writing HTML

Jade is a high performance template engine heavily influenced by Haml. It is designed for writing HTML pages using a concise, modern syntax without the verbosity of old fashioned XML-like tags that we...

View Article


Image may be NSFW.
Clik here to view.

RMySQL version 0.10.2: Full SSL Support

RMySQL version 0.10.2 has appeared on CRAN. This is a maintenance release to streamline the build process on various platforms. Most importantly, the Windows/OSX binary packages from CRAN are now...

View Article


Image may be NSFW.
Clik here to view.

Compiling CoffeeScript in R with the js package

A new release of the js package has made it’s way to CRAN. This version adds support for compiling Coffee Script. Along with the uglify and jshint tools already in there, the package now provides a...

View Article

Image may be NSFW.
Clik here to view.

OpenCPU server update for R 3.1.3

Following the release of R 3.1.3, I have pushed a new build of the OpenCPU server to launchpad, dockerhub and OBS. This update has no changes in OpenCPU itself, but includes updated versions of R,...

View Article

Image may be NSFW.
Clik here to view.

Improved memory usage and RJSONIO compatibility in jsonlite 0.9.15

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. Last week version 0.9.15 appeared on CRAN which improves memory...

View Article


Image may be NSFW.
Clik here to view.

JSON serialization now even faster and prettier

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.16 appeared on CRAN which has a new...

View Article

Image may be NSFW.
Clik here to view.

Upcoming talks about jsonlite and mongolite

This summer I will be giving an invited talk at the annual French R Meeting in Grenoble as well as a shorter talk at UseR 2015 in Aalborg. The presentations will feature some recent R packages in the...

View Article

Image may be NSFW.
Clik here to view.

Getting started with MongoDB in R

The first stable version of the new mongolite package has appeared on CRAN. Mongolite builds on jsonlite to provide a simple, high-performance MongoDB client for R, which makes storing and accessing...

View Article

Image may be NSFW.
Clik here to view.

New package commonmark: yet another markdown parser?

Last week the commonmark package was released on CRAN. The package implements some very thin R bindings to John Macfarlane’s (author of pandoc) cmark library. From the cmark readme: cmark is the C...

View Article



Image may be NSFW.
Clik here to view.

The curl package: a modern R interface to libcurl

TL;DR: Check out the vignette or the development version of httr. The package I put most time and effort in this year is curl. Last week version 0.8 was published on CRAN which fixes the last...

View Article

Image may be NSFW.
Clik here to view.

HTTPS for CRAN: how and why

Correction (June 18): An earlier version of this post stated that currently no CRAN mirrors support https. Martin has pointed out that this is incorrect. As of writing, 7 of the official CRAN mirrors...

View Article

Image may be NSFW.
Clik here to view.

Secure password hashing in R with bcrypt

The new package bcrypt provides an R interface to the OpenBSD ‘blowfish’ password hashing algorithm described in A Future-Adaptable Password Scheme by Niels Provos. The implementation is derived from...

View Article

Image may be NSFW.
Clik here to view.

OpenCPU release 1.5

Following a few weeks of testing, OpenCPU 1.5 has been released. OpenCPU is a production-ready framework for embedded statistical computing with R. The system provides a neat API for remotely calling...

View Article


Image may be NSFW.
Clik here to view.

Mongolite 0.5: authentication and iterators

A new version of the mongolite package has appeared on CRAN. Mongolite builds on jsonlite to provide a simple, high-performance MongoDB client for R, which makes storing small or large data in a...

View Article

Image may be NSFW.
Clik here to view.

Curl 0.9.2: tweaks and proxies for windows

Version 0.9.2 of curl has been released to CRAN. The curl package implements a modern and flexible web client for R and is the foundation for the popular httr package. This update includes mostly...

View Article

Image may be NSFW.
Clik here to view.

Sodium: A Modern and Easy-to-Use Crypto Library

This week a new package called sodium was released on CRAN. This package implements bindings to libsodium: a modern, easy-to-use software library for encryption, decryption, signatures, password...

View Article


Image may be NSFW.
Clik here to view.

Compression Benchmarks: brotli, gzip, xz, bz2

Brotli is a new compression algorithm optimized for the web, in particular small text documents. Brotli decompression is at least as fast as for gzip while significantly improving the compression...

View Article


Image may be NSFW.
Clik here to view.

The 'rsvg' Package: High Quality Image Rendering in R

The new rsvg package renders (vector based) SVG images into high-quality bitmap arrays. The resulting image is an array of 3 dimensions: height * width * 4 (RGBA) and can be written to png, jpeg or...

View Article

Image may be NSFW.
Clik here to view.

Using webp in R: A New Format for Lossless and Lossy Image Compression

A while ago I blogged about brotli, a new general purpose compression algorithm promoted by Google as an alternative to gzip. The same company also happens to be working on a new format for images...

View Article

Image may be NSFW.
Clik here to view.

New in V8: Calling R, from JavaScript, from R, from Javascript...

The V8 package provides an R interface to Google’s open source JavaScript engine. The package is completely self contained and requires no runtime dependencies, making it very easy to execute...

View Article

Image may be NSFW.
Clik here to view.

Commonmark: Super Fast Markdown Rendering in R

A few months ago I first announced the commonmark R package. Since then there have been a few more releases… time for an update! What is CommonMark? Markdown is used in many places these days, however...

View Article


Image may be NSFW.
Clik here to view.

OpenCPU Server Release 1.5.4

Version 1.5.4 of the OpenCPU server has been released to Launchpad (Ubuntu) and OBS (Fedora). This update does not introduce any changes to the OpenCPU API itself; it improves to the deb/rpm...

View Article

Image may be NSFW.
Clik here to view.

Hunspell: Spell Checker and Text Parser for R

Hunspell is the spell checker library used in LibreOffice, OpenOffice, Mozilla Firefox, Google Chrome, Mac OS X, InDesign, and a few more. Base R has some spell checking functionality via the aspell...

View Article


Image may be NSFW.
Clik here to view.

Stemming and Spell Checking in R

Last week we introduced the new hunspell R package. This week a new version was released which adds support for additional languages and text analysis features. Additional languages By default...

View Article

Image may be NSFW.
Clik here to view.

Faster arrays and matrices in jsonlite 0.9.20

Yesterday a new version of the jsonlite package was released to CRAN. This update includes no new features, it only introduces performance optimizations. Large Matrices The jsonlite package was...

View Article


Image may be NSFW.
Clik here to view.

OpenCPU release 1.6

Following a few weeks of testing, OpenCPU 1.6 has been released. OpenCPU is a production-ready system for embedded statistical computing with R. It provides a neat API for remotely calling R functions...

View Article

Image may be NSFW.
Clik here to view.

New in jsonlite 0.9.22: distinguish between double and integer

Today a new version of the jsonlite package was released to CRAN. This update includes a few internal enhancements and one new feature. Doubles vs integers The new always_decimal parameter forces...

View Article

Image may be NSFW.
Clik here to view.

Announcing OpenCPU 2.0: Building and Deploying Scalable R Apps and Services

OpenCPU 2.0 provides the most robust system available today for building and deploying R based apps and services. The server exposes a simple HTTP API for calling with R functions, scripts and...

View Article

Image may be NSFW.
Clik here to view.

Why Use Docker with R? A DevOps Perspective

There have been several blog posts going around about why one would use Docker with R. In this post I’ll try to add a DevOps point of view and explain how containerizing R is used in the context of...

View Article


Image may be NSFW.
Clik here to view.

OpenCPU 2.1 Release: Scalable R Services

OpenCPU provides a mature and robust system for hosting R based services. The server exposes a simple HTTP API for calling R functions, scripts and managing data. The Cloud Server is completely free...

View Article

Browsing latest articles
Browse All 73 View Live