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

June 7, 2010
By

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

## Example 7.40: Nelson-Aalen plotting

June 7, 2010
By

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

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

## Using R for Introductory Statistics 3.2

June 6, 2010
By

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

## Using R for Introductory Statistics 3.2

June 6, 2010
By

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

## biomaRt and GenomeGraphs: a worked example

June 6, 2010
By

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

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

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

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

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

June 5, 2010
By

## 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 <- " +

## Free Online Statistics Books

June 5, 2010
By

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

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

June 5, 2010
By

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

## GUI chart formatting with playwith

June 4, 2010
By

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

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

## Hack-at-it 2010

June 4, 2010
By

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

## Hack-at-it 2010

June 4, 2010
By

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

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

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

## Advanced debugging techniques in R

June 4, 2010
By

Harlan Harris provides an interactive introduction to more advanced debugging techniques using traceback(), trace() and debug(). This talk was presented to the NYC R Statistical Programming Meetup on June 3, 2010. Code from Harlan's talk is available...

## Debugging basics in R

June 4, 2010
By

Jay Emerson, professor of statistics at Yale University, introduces basic core functions for simple debugging in R, including print(), cat() and browser(). This talk was presented at the NYC R Statistical Programming Language Meetup on June 3, 2010.

## How to Create an R Package in Windows

There are many reasons to create an R package, such as codes protection, convenient usage, etc. However, creating an R package in Unix is not hard, it IS in Windows, as R is designed in a Unix environment which includes a set of compilers, programming utilities, and text-formatting routines while Windows lacks those. I used to build an R...

## inline 0.3.5

June 3, 2010
By

Yesterday morning, Romain pushed inline release 0.3.5 to CRAN. This is some ways a continuation of the 0.3.4 release I had made in December. That release had opened the door for the wide use of inline in our Rcpp package. And just how Rcpp has grown, ...

## inline 0.3.5

Yesterday morning, Romain pushed inline release 0.3.5 to CRAN. This is some ways a continuation of the 0.3.4 release I had made in December. That release had opened the door for the wide use of inline in our Rcpp package. And just how Rcpp has gro...

## Tracking JAXA Arctic Sea Ice Extent Trends

June 3, 2010
By

See my Arctic Update Page for daily updates on Arctic Sea Ice Extent Arctic Sea Ice Extent (SIE) follows an annual cycle, with maximum levels usually in March and minimum values in September.  Many analysts use day-of-year charts to compare … Co...

## Introductory Statistics with R

June 3, 2010
By

I am in the process of reading several books on R, S or statistics. I can't say that I have completed any of these - at least to the depth that I would like to... but I have found them helpful up to this point in various ways. I'll add to these book...

## Making Data Work online conference

June 3, 2010
By

O'Reilly is hosting a conference on June 9 on the topic of the analysis of large data sets. The title of the conference is Making Data Work: Ever since Hal Varian proclaimed that data analysis is the sexy career for the coming decade, people have been talking about data. And big data. And even bigger data. This online conference,...