Monthly Archives: June 2012

Framing investing as a decision-making process

June 23, 2012
By
Framing investing as a decision-making process

Brian Peterson and I had a chance to visit the University of Washington a couple of weeks ago at the behest of Doug Martin, where we gave a seminar covering various R packages we’ve written. Here are the slides we used. We also had quite a bit of time that we spent with Doug, Eric

Read more »

Retweets, Modified Tweets, vias: what’s in the SoMeLab dataset

June 23, 2012
By
Retweets, Modified Tweets, vias: what’s in the SoMeLab dataset

  Since October we have been collecting tweets related to the Occupy movement and so far we’ve picked up 64,298,104 tweets. In future posts we will give you some insight into our process, but today the question is, what is the difference between new style retweets, old style retweets and new emerging tags like MT?

Read more »

Handling large FASTA sequence datasets in R: Shuffle and retrieve "n" number of sequences of fixed length from the whole FASTA file and export them in a new FASTA file.

June 23, 2012
By

When you are working with large FASTA datasets is probable to find out that the sequences are in sort of a mixed quality (obviously, depending on your scientific question),I mean for example, imagine that you retrieve the whole collection of exons of a...

Read more »

The R-Podcast Screencast 2: Visualization with ggplot2

June 23, 2012
By

Here is the second screencast episode of the R-Podcast to accompany episode 8 of the R-Podcast: Visualization with ggplot2. In this screencast I demonstrate a real-time session of using ggplot2 to create boxplots for a visualization of hockey attendance in the NHL. The R code created in this screencast is available in our GitHub repository,

Read more »

Rcpp 0.9.11

June 22, 2012
By

Release 0.9.11 of Rcpp arrived on CRAN this morning and in Debian later today.This is a somewhat incremental release with a few internal improvements and few new features. One interesting new development has been contributed by John Chambers who i...

Read more »

Maps of changes in area boundaries, with R

June 22, 2012
By
Maps of changes in area boundaries, with R

Today a coworker needed some maps showing boundary changes. I used what I learned last week in the useR 2012 geospatial data course to make a few simple maps in R, overlaid on OpenStreetMap tiles. I’m posting my maps and … Continue reading →

Read more »

Updates to Old code

June 22, 2012
By
Updates to Old code

I notice from time to time that people download code from the drop box. The drop box lags  CRAN.  I’ve upload the newest versions to the drop box. In the future I will post new releases to the drop box before I submit to CRAN.

Read more »

R 2.15.1 includes performance improvements inspired by dataframe package

June 22, 2012
By

The latest update to open-source R, R 2.15.1, was released this morning. (You can grab sources now, and binary versions will hit the CRAN mirrors over the next couple of days.) In addition to several new features and bug fixes (including the new globalVariables function, which will be a boon to package developers), this update also includes some significant...

Read more »

R and the web (for beginners), Part II: XML in R

June 22, 2012
By

This second post of my little series on R and the web deals with how to access and process XML-data with R. XML is a markup language that is commonly used to interchange data over the Internet. If you want to access some online data over a webpage's AP...

Read more »

Plotting non-overlapping circles…

June 22, 2012
By
Plotting non-overlapping circles…

It's holiday today in Sweden, so happy Midsummer to everyone!!! (I know, it's delayed)No work for me, so I checked up the latest XKCD:Gorgeous, right? So I decided to see if I could make something similar - but being lazy, I didn't feel like drawing al...

Read more »