One Day Cricket Champions by Decade

September 12, 2010
By
One Day Cricket Champions by Decade

(This article was first published on Enterprise Software Doesn't Have to Suck, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Enterprise Software Doesn't Have to Suck. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming...

Read more »

“simply start over and build something better”

September 12, 2010
By
“simply start over and build something better”

The post on the shortcomings of R has attracted a huge number of readers and Ross Ihaka has now posted a detailed comment that is fairly pessimistic… Given the directions drafted in this comment from the father of R (along with Robert Gentleman), I once again re-post this comment as a main entry to advertise

Read more »

Missing Data in R

September 12, 2010
By
Missing Data in R

Probably all of us have met the issue of handling missing data, from the basic portfolio correlation matrix estimation, to advanced multiple factor analysis, how to impute missing data remains a hot topic. Missing data are unavoidable, and more encompassing than the ubiquitous association of the term, irgoring missing data will generally lead to biased estimates. The...

Read more »

R on the iPhone

September 12, 2010
By
R on the iPhone

iPhone users who have jailbroken their phone have been able to compile R for a while now since they have access to the command line via MobileTerminal.  However, I just recently found out that a package is now up on Cydia to ease installation. So I fired up my iPhone 4 and installed R on

Read more »

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

Read more »

Preventing argument use in R

September 12, 2010
By
Preventing argument use in R

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.

Read more »

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

Read more »

India Pakistan Cricket over the years

September 11, 2010
By
India Pakistan Cricket over the years

Note: Excludes abandoned, canceled and no results games.

Read more »

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 */

Read more »

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

Read more »

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

Read more »

Raster “Cover” function

September 11, 2010
By
Raster “Cover” function

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.

Read more »

mapping the Australian election (2010 edition)

September 11, 2010
By
mapping the Australian election (2010 edition)

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

Read more »

EmEditor Professional as an R script editor

September 11, 2010
By
EmEditor Professional as an R script editor

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

Read more »

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

Read more »

10w2170, Banff

September 11, 2010
By
10w2170, Banff

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

Read more »

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

Read more »

Rcpp 0.8.6

September 10, 2010
By

Dirk released Rcpp 0.8.6 to CRANMost 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...

Read more »

Because it’s Friday: Religion and reading level

September 10, 2010
By
Because it’s Friday: Religion and reading level

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

Read more »

R SQL-ish aggregation

September 10, 2010
By
R SQL-ish aggregation

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 →

Read more »

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

Read more »

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

Read more »

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

Read more »

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

Read more »

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

Read more »

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

Read more »

Off to Banff!!

September 9, 2010
By
Off to Banff!!

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

Read more »

What can other languages learn from R?

September 9, 2010
By
What can other languages learn from R?

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

Read more »

A quick ggplot2 hack (multiple dataframes)

September 9, 2010
By
A quick ggplot2 hack (multiple dataframes)

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 »

Read more »