Monthly Archives: January 2010

R Journal 1/2

January 5, 2010
By
R Journal 1/2

R Journal 1/2 is out! Grab it from here.

Read more »

R: Memory usage statistics by variable

January 4, 2010
By
R: Memory usage statistics by variable

Do you need a way to find out which individual variables in R consume the most memory? # create dummy variables for demonstration x <- 1:1000 y <- 1:10000 z <- 1:100000 # print aggregate memory usage statistics print(paste('R is using', mem...

Read more »

Example 7.20: Simulate categorical data

January 4, 2010
By
Example 7.20: Simulate categorical data

Both SAS and R provide means of simulating categorical data (see section 1.10.4). Alternatively, it is trivial to write code to do this directly. In this entry, we show how to do it once. In a future entry, we'll demonstrate writing a SAS Macro (section A.8.1) and a function in R (section B.5.2) to do it...

Read more »

O’Reilly’s R is a Harpy Eagle

January 4, 2010
By
O’Reilly’s R is a Harpy Eagle

Today marks the hardcopy availability of the first book dedicated to R from O'Reilly, R in a Nutshell. In the familiar O'Reilly style, the cover is adorned with an illustration of an animal, in this case a harpy eagle: The book is written by Joe Adler, a data analyst and the author of Baseball Hacks. In contrast to the...

Read more »

Welcome!

January 4, 2010
By

Welcome to my new blog, Byte Mining! Data is all around us, all the time. It flows in from places you would least expect it, and more times that not, it remains in its original form untouched by human and machine. When data simply flows in and out of our lives, we miss out on the story that it...

Read more »

Soical Network Analysis in R

January 3, 2010
By

Presentation by Drew Conway on August 6, 2009 at the NYC R Statistical Programming Meetup on how to perform basic social network analysis in R using the igraph package.

Read more »

directlabels: Adding direct labels to ggplot2 and lattice plots

January 3, 2010
By
directlabels: Adding direct labels to ggplot2 and lattice plots

Sometimes it is preferable to label data series instead of using a legend. This post demonstrates one way of using labels instead of legend in a ggplot2 plot. > library(ggplot2) > p <- ggplot(dfm, aes(month, value, group = City, colour = City)) + geom_line(size = 1) + opts(legend.position = "none") > p + geom_text(data =

Read more »

Rcpp 0.7.1

January 2, 2010
By

Two weeks after the Rcpp 0.7.0 release, Romain and I are happy to announce release 0.7.1 of Rcpp. It is currently in the incoming section of CRAN and has been accepted into Debian. Mirrors will catch up over the next few days, in the meantime the local page is available for download too. A lot has...

Read more »

Rcpp 0.7.1

January 2, 2010
By

Two weeks after the Rcpp 0.7.0 release, Romain and I are happy to announce release 0.7.1 of Rcpp. It is currently in the incoming section of CRAN and has been accepted into Debian. Mirrors will catch up over the next few days, in the meantime the local...

Read more »

Rcpp 0.7.1

January 2, 2010
By

Two weeks after the Rcpp 0.7.0 release, Romain and I are happy to announce release 0.7.1 of Rcpp. It is currently in the incoming section of CRAN and has been accepted into Debian. Mirrors will catch up over the next few days, in the meantime the local page is available for download too. A lot has...

Read more »