Blog Archives

Hierarchical Visualizations in R and the Javascript InfoVis Toolkit

July 12, 2010
By
Hierarchical Visualizations in R and the Javascript InfoVis Toolkit

I love R.  It is really a great language and platform for statistical work and graphing.  But every technology has its limits - and other tools can be meet different needs.  So in this post, I will start with R and move on to the JavaScr...

Read more »

World Cup 2010 Statistics Plotted with R

July 11, 2010
By
World Cup 2010 Statistics Plotted with R

Opta  agreed to let the UK Guardian Data Blog publish 2010 World Cup Team and Player statistics.  The data is available in a Google Docs spreadsheet.  There are two tabs on this spreadsheet - one is PLAYERS the other is TEAM st...

Read more »

World Government Data Store API (R and Ruby)

July 10, 2010
By
World Government Data Store API (R and Ruby)

The UK Guardian Data Blog has great visualizations on the topics of the day - along with with specific references to data sets and online resources in use.  You can find out more about the origins and plans of this and related data sites in t...

Read more »

R and Oracle HR Part II – Plotting a single variable

July 9, 2010
By
R and Oracle HR Part II – Plotting a single variable

If you have not done so already, make sure you have R and Oracle setup as described in the previous article.  If so, you should be able to create a connection from R and list the tables that are available in the HR schema.library('RODBC')ch <-o...

Read more »

R and Oracle HR Part I – Set Up and Connect

July 8, 2010
By
R and Oracle HR Part I – Set Up and Connect

There has been recent interest in the attention that Oracle has been giving to R.  This has been related to the use of Oracle Data Mining which is a paid option to Oracle.  This is the first in a series of posts that can be run using the Orac...

Read more »

Ajax using JQuery to Sinatra (and a Barplot using R)

July 5, 2010
By
Ajax using JQuery to Sinatra (and a Barplot using R)

Part of what attracted me to R was the ease and efficiency in using the language for tasks for which it was designed.  R is a tool among that can be used to do great things with minimal effort.  This post illustrates some other tools and tech...

Read more »

Hacker News Religion Poll

July 5, 2010
By
Hacker News Religion Poll

Hacker News user post polls from time to time - the following code constructs a bar chart based upon the responses to a recent poll on the stated religious affiliation of Hacker news users (parsed straight from the site).  The chart above is as of...

Read more »

Make R speak SQL with sqldf

July 5, 2010
By
Make R speak SQL with sqldf

The R community is unique as programming communities go.  Many users of R come from academia and have a relatively extensive mathematical background.  The R community has developed in relative isolation from some other areas of programming th...

Read more »

Happy 4th of July

July 3, 2010
By
Happy 4th of July

library(maps)states <- data.frame(map("state", plot=FALSE))plot(states, type = "l", col = "navy", axes = FALSE, xlab = "", ylab = "")title("Happy 4th of July",  col.main = "red")

Read more »

CRAN Search

June 30, 2010
By
CRAN Search

Here's a ditty to search the cran R packages by descriptioncranSearch = function(q=''){  library(XML)  u<-'http://cran.r-project.org/web/packages/'  d<-readHTMLTable(u)  d]$V1  lib.names <-...

Read more »