The R Cultural Analytics Library

I have gathered together much of the code from my series of posts on Exploring Art Data as a library for the R programming language which is now available as a package on R-Forge:

https://r-forge.r-project.org/projects/rca/

I will be adding more code to the library over time. It’s very easy to install, just enter the following into an R session:

install.packages("CulturalAnalytics", repos="http://R-Forge.R-project.org")

The library includes code for ImagePlot-style image scatter plots, colour histograms and colour clouds and other useful functions. The examples in the documentation should help new users to get started quickly.

R is the lingua franca for statistical computing, and I believe that it’s important for art and digital humanities computing to avail itself of its power.

Posted in Aesthetics, Art Computing, Art Open Data, Projects
3 comments on “The R Cultural Analytics Library
  1. John Muccigrosso says:

    Thanks for making this available! Loads of fun.
    For the record, on my Mac which has a pretty basic R package, I had to install plyr and EBImage, the latter of which also required ImageMagick which I installed via macports. Fortunately that’s all pretty easy with R.app, though I did have to get the source for EBImage since the binary complains about not supporting v 2.14 of R.

  2. Rob Myers says:

    Thank you for trying out the code!
    EBIMage’s reliance on ImageMagick does make the library harder to install than it could be. I’m going to remove the dependency and replace it with Raster, which seems easier to install.

  3. Rob Myers says:

    The latest version (1.0.5) now uses raster images rather than EBImages.