## Chicago Half Marathon 2010

September 12, 2010
By

Second Sunday in September -- time for the annual Chicago Half Marathon now in its fourteenth edition (and I have been running it in 2003, 2004, 2005, 2006, 2007, 2008 and 2009 making this and the JPM Chase Corporate Challenge the races I've run ...

## Preventing argument use in R

September 12, 2010
By

It sounds silly, but sometimes you don't want to let people use some arguments of a function. The canonical example is write.csv. The function is effectively a wrapper to write.table, but using "," as the separator and "." as the decimal.

## A (fast!) null model of bipartite networks

September 12, 2010
By
$A (fast!) null model of bipartite networks$

One of the challenges for ecologists working with trophic/interaction networks is to understand their organization. One of the possible approaches is to compare them across a random model, with more or less constraints, in order to estimate the departure from randomness. To this effect, null models have been developed. The basic idea behind a null

## India Pakistan Cricket over the years

September 11, 2010
By

## SyntaxHighlighter Brush for the R Language

September 11, 2010
By

al Galili requested in the R-help mailing list for a SyntaxHighlighter brush for the R language, so that WordPress users can highlight their R code easily. I promised to contribute a few minutes on this task, and here is the result: /** * Author: Yihui Xie * URL: http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language * License: GPL-2 | GPL-3 */

## RProtoBuf 0.2,0

September 11, 2010
By

A brand new and shiny release of RProtoBuf, now at version 0.2.0, arrived on CRAN earlier today. RProtoBuf provides GNU R bindings for the Google Protobuf data encoding library used and release by Google and others. This is only the second release aft...

## RProtoBuf 0.2,0

September 11, 2010
By

A brand new and shiny release of RProtoBuf, now at version 0.2.0, arrived on CRAN earlier today. RProtoBuf provides GNU R bindings for the Google Protobuf data encoding library used and release by Google and others. This is only the second releas...

## Raster “Cover” function

September 11, 2010
By

The last bits of raster are coming together and everything is working so we are getting really close here. Today i will cover the raster function ‘cover’ which robert has just updated to handle a brick function. Lets review the situation with a toy example: First, we read in the Land data into a Brick.

## mapping the Australian election (2010 edition)

September 11, 2010
By

The AEC makes this reasonably easy, as do the authors of some very helpful R packages, the good people at Google Maps etc. Full description here (PDF); entire collection here; a sample here, showing Green 1st preferences, by polling places across metro...

## EmEditor Professional as an R script editor

September 11, 2010
By

R is not supported "out of the box" by EmEditor, so here's a few tips I've found for using it as a great editor for R.Code Syntax highlighting Executing R scripts and capturing outputUse ctags symbols to navigate files.If you create packages for CRAN or like neat code, you might like to use a macro to tidy it...

## Using the {plyr} (1.2) package parallel processing backend with windows

September 11, 2010
By

Hadley Wickham has just announced the release of a new R package “reshape2” which is (as Hadley wrote) “a reboot of the reshape package”. Alongside, Hadley announced the release of plyr 1.2.1 (now faster and with support to parallel computation!). Both releases are exciting due to a significant speed increase they have now gained. Yet in case of the new plyr...

## 10w2170, Banff

September 11, 2010
By

Yesterday night, we started the  Hierarchical Bayesian Methods in Ecology workshop by trading stories. Everyone involved in the programme discussed his/her favourite dataset and corresponding expectations from the course. I found the exchange most interesting, like the one we had two years ago in Gran Paradiso, because of the diversity of approaches to Statistics reflected

## Billy Bragg

September 10, 2010
By

In the spur of the moment, I cycled over to Dominican, one of the two small colleges in town, to see if I could snag a remaining ticket to see Billy Bragg perform. Turned out I could, and it became a nice evening out. Darren Hanlon started up the ev...

## Rcpp 0.8.6

September 10, 2010
By

Dirk released Rcpp 0.8.6 to CRAN Most of the development of this release was trigerred by a question on the Rcpp-devel mailing list. After Richard's question, we added d-p-q-r functions for most of the distributions available in R. The file runit...

## Because it’s Friday: Religion and reading level

September 10, 2010
By

The dating site OK Cupid often publishes on their blog interesting analyses of based on the self-reported data from their users, and the latest post is no exception. Most commentary has focused on race/gender preference analysis: according to the "Likes" sections of OK Cupid profiles, white males like "sweaty guitar rock, bro-on-bro comedies, things with engines, and dystopias" whereas...

## R SQL-ish aggregation

September 10, 2010
By

I came to R from SQL. I’ve heard that packages such as reshape and plyr are quite beautiful, but to me they are somewhat non-intuitive. I’m always looking for SELECT mean(sodium) as mean, variance(sodium) as var FROM texas GROUP BY … Continue reading →

## plyr and reshape: better, faster, more productive

September 10, 2010
By

Hadley Wickham has just released updates to his data-manipulation packages for R, plyr and reshape (now called reshape2), that are much faster and more memory-efficient than the previous incarnations. The reshape2 package lets you flexibly restructure and aggregate data using just three functions (melt, acast and dcast), whereas the plyr package is kind of like a supercharged SQL "GROUP...

## R vs. Stata, or, Different ways to estimate multilevel models

September 10, 2010
By

Cyrus writes: I was teaching a class on multilevel modeling, and we were playing around with different method to fit a random effects logit model with 2 random intercepts---one corresponding to "family" and another corresponding to "co...

## Rcpp 0.8.6

September 10, 2010
By

After a somewhat longer than usual break, we now have a new release of Rcpp on CRAN and in Debian. This release adds quite few things. The main one may be the addition of density, distribution, quantile and random number functions for a rather large n...

## Rcpp 0.8.6

September 10, 2010
By

After a somewhat longer than usual break, we now have a new release of Rcpp on CRAN and in Debian. This release adds quite few things. The main one may be the addition of density, distribution, quantile and random number functions for a rather large...

## Revolution R Enterprise, some thoughts

September 9, 2010
By

I requested an academic copy of the Revolution R Enterprise today. Since they only have Windows or Redhat version, I installed it on an old spare machine dual-booting Linux and Windows. I like what they did with the IDE (the debugger is nice) and ...

## Revolution R Enterprise, some thoughts

September 9, 2010
By

I requested an academic copy of the Revolution R Enterprise today. Since they only have Windows or Redhat version, I installed it on an old spare machine dual-booting Linux and Windows. I like what they did with the IDE (the debugger is nice) and ...

## Off to Banff!!

September 9, 2010
By

Today I am travelling from Paris to Banff, via Amsterdam and Calgary, to take part in the Hierarchical Bayesian Methods in Ecology two day workshop organised at BIRS by Devin Goodsman (University of Alberta),  François Teste (University of Alberta), and myself. I am very excited both by the opportunity to meet young researchers in ecology

## What can other languages learn from R?

September 9, 2010
By

At the ASA Statistical Computing Award ceremony in Vancouver last month, R's co-creator Ross Ihaka said that R began as a "system that was functional and well-designed, and made it easy and fun for other people to help". R's other co-creator, Robert Gentleman, also described the ability of others to contribute as "the exit strategy" that made R so...

## A quick ggplot2 hack (multiple dataframes)

September 9, 2010
By

I’m starting to get familiar with ggplot2, and I really like it. I just found a very quick way to use several dataframes within the same plot, provided that the dataframes share columns names. One obvious application is the production (…)Read the rest of this entry »

## NHANES Data: Management with R

September 9, 2010
By

David Winsemius discusses the analysis of the NHANES data set to create models that better predict Hepatitis C infection.

## Harvesting & Analyzing Interaction Data in R: The Case of MyLyn

September 9, 2010
By

Sean Goggins presents a network analysis of MyLyn software development project.

## Typo in Chapter 5

September 9, 2010
By

Gilles Guillot from Technical University of Denmark taught a course based on our R book and he pointed out to me several typos in Chapter 5 of “Introducing Monte Carlo Methods with R”: p.137 second equation from bottom should be p. 138  Example 5.7 denominator in the gradient should be