Blog Archives

R tips: Determine if function is called from specific package

June 16, 2009
By
R tips: Determine if function is called from specific package

I like the "multicore" library for a particular task. I can easily write a combination of if(require("multicore",...)) that means that my function will automatically use the parallel mclapply() instead of lapply() where it is available. Which is grand 99% of the time, except when my function is called from mclapply() (or one of the lower level functions)...

Read more »

R tips: Installing Rmpi on Fedora Linux

June 12, 2009
By
R tips: Installing Rmpi on Fedora Linux

Somebody on the R-help mailing list asked how to get Rmpi working on his Fedora Linux machine so he could do high-performance computing on a cluster of machines (or a single multicore machine) using the R statistical computing and analysis platform. Since it is unusually painful to get working, I might as well copy the instructions...

Read more »

Data Mashups in R from O’Reilly

June 9, 2009
By
Data Mashups in R from O’Reilly

O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information...

Read more »

How to win the KDD Cup Challenge with R and gbm

June 1, 2009
By
How to win the KDD Cup Challenge with R and gbm

Hugh Miller, the team leader of the winner of the KDD Cup 2009 Slow Challenge (which we wrote about recently) kindly provides more information about how to win this public challenge using the R statistical computing and analysis platform on a laptop (!).

Read more »

R used by KDD 2009 cup winner of slow challenge

May 31, 2009
By
R used by KDD 2009 cup winner of slow challenge

The results from the KDD Cup 2009 challenge (which we wrote about before) are in, and the winner of the slow challenge used the R statistical computing and analysis platform for their winning submission.

Read more »

R tips: Use read.table instead of strsplit to split a text column into multiple columns

May 29, 2009
By
R tips: Use read.table instead of strsplit to split a text column into multiple columns

Someone on the R-help mailing list had a data frame with a column containing IP addresses in quad-dot format (e.g. 1.10.100.200). He wanted to sort by this column and I proposed a solution involving strsplit. But Peter Dalgaard comes up with a much nicer method using read.table on a textConnection object:

Read more »

Data.gov

May 21, 2009
By
Data.gov

I am always on the lookout for useful data sources for training in statistics, so I am excited that Data.gov has opened for business. The purpose of Data.gov is to increase public access to high value, machine readable datasets generated by the US Government.

Read more »

SNA with R: Loading large networks using the igraph library

May 6, 2009
By
SNA with R: Loading large networks using the igraph library

We are interested in Social Network Analysis using the statistical analysis and computing platform R. The documentation for R is voluminous but typically not very good, so this entry is part of a series where we document what we learn as we explore the tool and the packages. In our previous post on SNA we gave up...

Read more »

SNA with R: Loading your network data

April 1, 2009
By
SNA with R: Loading your network data

We are interested in Social Network Analysis using the statistical analysis and computing platform R. As usual with R, the documentation is pretty bad, so this series collects our notes as we learn more about the available packages and how they work. We use here the statnet group of packages, which seems to be the...

Read more »

R tips: Swapping columns in a matrix

March 31, 2009
By
R tips: Swapping columns in a matrix

Swapping two columns in a matrix is really easy: m <- m.

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)