Blog Archives

Hash Table Performance in R: Part III In Part I of this series, I explained how R hashed…

April 17, 2015
By

Hash Table Performance in R: Part III In Part I of this series, I explained how R hashed environments are superior to vectors or lists when you’re in need of an associative array. In Part II I explained the three main operations you want to perform on hash tables and how you should implement them for optimal performance. This time around...

Read more »

Hash Table Performance in R: Part II In Part I of this series, I explained how R hashed…

April 13, 2015
By

Hash Table Performance in R: Part II In Part I of this series, I explained how R hashed environments are superior to vectors or lists when you need a hash table for your work. I also teased that in this post I would explain the caveats associated with that choice, but I’m saving that for later as I...

Read more »

Hash Table Performance in R: Part I

March 24, 2015
By
Hash Table Performance in R: Part I

What Is It?A hash table, or associative array, is a well known key-value data structure. In R there is no equivalent, but you do have some options. You can use a vector of any type, a list, or an environment.But as you’ll see with all of these options their performance is compromised in some way. In the...

Read more »

It’s Time For A Change: A Shiny One

December 3, 2012
By

I presented rApache to the public for the first time at the Directions in Statistical Computing workshop in August 2005 (paper), almost seven years ago. It might have been novel, maybe even crazy at the time, but I think rApache showed people a new way to bring R to the web. I presented brew, a templating framework for...

Read more »

RMySQL Looking For A New Maintainer

November 19, 2012
By

Please contact me if you’d like to take over maintainership of this popular R package.

Read more »

Innovation in Statistical Computing

November 15, 2012
By

In A Capitalist’s Dilemma, Whoever Wins on Tuesday, Clayton Christensen lays out three kinds of innovations through which an industry cycles: Empowering Innovations - those that offer products and services to a new customer base. The classic empowering (or disruptive) innovation is Ford Motor Company’s introduction of the low-cost Model T coupled with the ability of Ford’s own...

Read more »

Deploy Rook Apps: Part II

October 17, 2012
By

In Part I, I described how you can deploy your Rook applications with rApache. This post describes how you can do it with R itself. But before we get into that, I’d like to explain the off-again on-again relationship Rook has had with CRAN, R’s package archive network. Since inception (of Rook, not the movie), I...

Read more »

Deploy Rook Apps: Part II

October 12, 2012
By

In Part I, I described how you can deploy your Rook applications with rApache. This post describes how you can do it with R itself. But before we get into that, I’d like to explain the off-again on-again relationship Rook has had with CRAN, R&#82...

Read more »

rApache 1.2.0 Released

July 27, 2012
By
rApache 1.2.0 Released

With this release comes a minor change in behavior: for requests that have been configured with RFileEval, RFileHandler, or using the r-script handler, rApache will set the working directory to the file’s directory. For instance with a Rook deployment like this: <Location /hmisc> SetHandler r-handler ...

Read more »

Deploy Rook Apps with rApache: Part I

July 23, 2012
By

Since rApache 1.1.15 you’ve been able to deploy you Rook applications like so: # Run the Rook application named 'app'. On each request, the expression # 'Rook::Server$call(app)' is evaluated in an environment populated by # rookapp.R. 'app' is expected to be found in that environment. <Location /test/RookApp> SetHandler r-handler ...

Read more »