Plotting World Bank Data with R

June 8, 2010
By
Plotting World Bank Data with R

Copy and paste the code listed in this post below, and you can create a plot of World Bank data using R with a call like the following:plotWorldBank('USA','NY.GDP.MKTP.KD.ZG')There is a wealth of economic and demographic available at the World Bank. ...

Read more »

Rcpp 0.8.1

June 8, 2010
By

Early this morning I sent Rcpp version 0.8.1 off to CRAN and Debian. In the meantime, Romain has already provided a very nice blog post about it. There are a few fairly visible new things in this release. As we want to focus the next few minor release...

Read more »

Rcpp 0.8.1

Early this morning I sent Rcpp version 0.8.1 off to CRAN and Debian. In the meantime, Romain has already provided a very nice blog post about it. There are a few fairly visible new things in this release. As we want to focus the next few minor rel...

Read more »

PostGIS in Action Book Review

June 8, 2010
By
PostGIS in Action Book Review

I was recently asked to review a soon to be published book on PostGIS, a spatial extension to the very popular Postgresql relational database. I was very excited about receiving an early copy of this book, as the authors have provided countless tips, ...

Read more »

R is eve R ywhe R e

June 8, 2010
By
R is eve R ywhe R e

R did definitely not start to be THE statistical computing tool. The “two Rs” in far down-under just needed some tool which was not too expensive and structured enough to support the elementary statistics classes filled with hundreds of students. Another constraint was the computing lab which was large enough, but “only” filled with Mac

Read more »

Norman Nie talks R and statistics with CNET’s Dave Rosenberg

June 8, 2010
By

Revolution's CEO Norman Nie recently gave an interview to CNET's Dave Rosenberg, who blogs on disrupting the software market. Among the topics covered: What is R (Nie: "R is the most powerful statistical computing language on the planet"), what is predictive analytics ("statistical modeling by another name") and plans for Revolution R ("we intend to bring predictive analytics to...

Read more »

Rcpp 0.8.1

June 8, 2010
By

We released Rcpp 0.8.0 almost a month ago. It finalized our efforts in designing a better, faster and more natural API than any version of Rcpp ever before. The journey from Rcpp 0.7.0 to

Read more »

Could we run a statistical analysis on iPhone/iPad using R?

June 8, 2010
By
Could we run a statistical analysis on iPhone/iPad using R?

Imprtent update to the post (17.07.10) I now came across David smith’s post on the REvolution blog, pointing to instruction on the R wiki for how to install R on the iPhone! I didn’t try it myself since it both requires jailbreaking the iPhone, and I don’t have an iPhone. But it is still interesting to know of. Preface...

Read more »

What is R?

June 7, 2010
By

Probably the question I get asked the most about R is, "What is R"? It's can be a hard question to answer, because R is so many things. It's data analysis software. It's an environment for data analysis. It's a language. It's an open-source project. It's a community. The Wikipedia page for R does a great job of describing...

Read more »

Ruby Script to parse ISBNs listed in R-Project to populate an Amazon

June 7, 2010
By
Ruby Script to parse ISBNs listed in  R-Project to populate an Amazon

As you probably figured out, I am an Amazon affiliate and have been giving some thought to how to get the best lists of R books available at Amazon. To get the list of ISBNs from R-Project, the following Ruby script did the trick:require 'rubygems'req...

Read more »

Example 7.40: Nelson-Aalen plotting

June 7, 2010
By
Example 7.40: Nelson-Aalen plotting

In our previous entry, we described how to calculate the Nelson-Aalen estimate of cumulative hazard. In this entry, we display the estimates for the time to linkage to primary care for both the treatment and control groups in the HELP study.RWe use the...

Read more »

An Interest Rate R Package Plan

An Interest Rate R Package Plan

I recently have done some empirical studies on zero-coupon bond modelling and pricing, and plan to create an interest rate R package in order to make it re-usable, as I find there are only two R package on it, one is http://cran.r-project.org/web/pack...

Read more »

Using R for Introductory Statistics 3.2

June 6, 2010
By
Using R for Introductory Statistics 3.2

...continuing my sloth-like progress through John Verzani's Using R for Introductory Statistics. Previous installments: Chapters 1 and 2 and 3.1. Comparing independent samples Boxplots provide a visual comparison between two or more distributions. Fo...

Read more »

Using R for Introductory Statistics 3.2

June 6, 2010
By
Using R for Introductory Statistics 3.2

...continuing my sloth-like progress through John Verzani's Using R for Introductory Statistics. Previous installments: Chapters 1 and 2 and 3.1. Comparing independent samples Boxplots provide a visual comparison between two or more distributions. Fo...

Read more »

biomaRt and GenomeGraphs: a worked example

June 6, 2010
By
biomaRt and GenomeGraphs: a worked example

As promised a few posts ago, another demonstration of the excellent biomaRt package, this time in conjunction with GenomeGraphs. Here’s what we’re going to do: Grab some public microarray data Normalise and get a list of the most differentially-expressed probesets Use biomaRt to fetch the genes associated with those probesets Plot the data using GenomeGraphs

Read more »

General steps to compile JAGS in a Linux based OS system and install rjags in R

June 6, 2010
By

I have an entry here about how to install JAGS and rjags in Fedora.  However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer.  Here are the easier steps to compile JAGS and install rjags in R. 1. After you extract the source code...

Read more »

General steps to compile JAGS in a Linux based OS system and install rjags in R

June 6, 2010
By

I have an entry here about how to install JAGS and rjags in Fedora.  However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer.  Here are the easier steps to compile JAGS and install rjags in R. 1. After you extract the source code...

Read more »

JAGS, rjags, and coda packages for Fedora

June 6, 2010
By

Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/ If you have trouble installing JAGS or rjags in Fedora,...

Read more »

JAGS, rjags, and coda packages for Fedora

June 6, 2010
By

Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/ If you have trouble installing JAGS or rjags in Fedora,...

Read more »

The 1000 most-visited sites analyzed using R

June 5, 2010
By
The 1000 most-visited sites analyzed using R

Ever wondered about which Computer and Electronics web sites get the most Page Views? Based upon data recently published by Google:The R program to create this graph is as follows:library(XML)# URL for the Google Datau="http://www.google.com/adplanner...

Read more »

static symbols too?

June 5, 2010
By

Continuing in the context of this previous post… 1. Select a static symbol from the R sources, like Connections $ grep "static Rconnection Connections" src/main/connections.c static Rconnection Connections; 2. Get its address $ objdump -t `R RHOME`/bin/exec/R | awk '/ Connections/ {print $1}' 000000000093b700 3. Use the symbol > library(inline) > code <- " +

Read more »

Free Online Statistics Books

June 5, 2010
By
Free Online Statistics Books

Sources as varied as Google's Chief Economist Hal Varian and threatening online personalty (offensive language warning) Zed Shaw have recognized a growing need for professionals with solid statistical skills to meet the technical challenges facing the ...

Read more »

“Programming with Data – a Guide to the S Language” by John Chambers

June 5, 2010
By
“Programming with Data – a Guide to the S Language” by John Chambers

Another unashamedly subjective book review - but first a little more about my history as it relates to R...A few years ago, I was doing some systems administration work at an industrial company for whom IT was a cost center. I wanted to illustrate to...

Read more »

GUI chart formatting with playwith

June 4, 2010
By
GUI chart formatting with playwith

There are a huge number of plots, annotations and parameters available in R for constructing charts and graphics. While looking through the R Programming wikibook I noticed a reference to a library called playwith. It provides a GUI that allows you ...

Read more »

On particle learning

June 4, 2010
By
On particle learning

In connection with the Valencia 9 meeting that started yesterday, and with Hedie‘s talk there, we have posted on arXiv a set of comments on particle learning. The arXiv paper contains several discussions but they mostly focus on the inevitable degeneracy that accompanies particle systems. When Lopes et al. state that is not of interest

Read more »

Hack-at-it 2010

June 4, 2010
By
Hack-at-it 2010

Members of the team met for the second time in 2010, to work on a new interactive graphics canvas for R. The current stage of the project can be found at R-forge: qtinterfaces contains the new canvas, and plumbr contains the new mutable data frame stru...

Read more »

Hack-at-it 2010

June 4, 2010
By
Hack-at-it 2010

Members of the team met for the second time in 2010, to work on a new interactive graphics canvas for R. The current stage of the project can be found at R-forge: qtinterfaces contains the new canvas, and plumbr contains the new mutable data frame stru...

Read more »

Because it’s Friday: Stochastic degradation

June 4, 2010
By

When you upload a video to YouTube, they don't store a perfect digital copy of your media file. The video is actually re-encoded into the MPEG-4 video format. This saves space on YouTube's servers, but also introduces some random degradation to the video (as a result of the lossy compression process). So what happens if you then save that...

Read more »

Connecting Revolution R to MySQL on Windows

June 4, 2010
By

My colleague Saar Golde was having some troubles connecting Revolution R to MySQL on Windows (64-bit). Turned out the problem was the lack of an environment variable. He documented the instructions for fixing the problem on Windows 7, below. Thanks, Saar! The Problem: A client is about to send me a couple of large MySQL tables, so I needed...

Read more »