Talking The R Journal latest release

June 24, 2011
By
Talking The R Journal latest release

Volume 3/1 of The R Journal has been released. It of course has articles about using R.  In addition it has a feature that I highly support.  In preparation for the UseR! Conference 2011 August 16-18 in Coventry there are two Help Desk articles on making a good technical presentation. Technical presentation Rob Hyndman writes … Continue reading...

Read more »

Multiple plots in R: lesson zero

June 24, 2011
By
Multiple plots in R: lesson zero

Today, in one of my more productive days, I managed to create a sleek R script that plotted several histograms in a lattice, allowing for easy identification of the underlying trend. Although the majority of the time taken consisted of collecting the data and making various adjustments, it took a not inconsiderable amount of work to write the...

Read more »

msg <- "Hello World!"; print(msg)

June 23, 2011
By
msg <- "Hello World!"; print(msg)

Introduction My mom always told me to be polite so I think I should introduce myself first. I’m a 20+ years old Finnish university student studying computer science (2nd year starting) and statistics (first year coming) and mostly interested in &...

Read more »

Table hockey and statistics, part 1

June 23, 2011
By
Table hockey and statistics, part 1

Two hobbys combined I’ve been playing table hockey for little over 8 years now and since the very beginning I’ve been interested in statistics and different software we use while organising tournaments and seasons. I’ve been writing f...

Read more »

The R Journal, Volume 3/1

June 23, 2011
By

The most recent issue of The R Journal was recently published.  If you're not a regular reader, you should at least check out the following three contributed articles (listed in order of appearance).Rmetrics - timeDate PackageDifferential Evoluti...

Read more »

Crashed!!

June 23, 2011
By

This crashes R (sometimes):1 2 f = function( 3 a = {x <- y <- z <- w <- t <- u <- 7} 4 ) environment() 5 6 for (i in 1:1000) { ...

Read more »

Speed up R "for" loops 50x with Rcpp

June 23, 2011
By

Christian Gunning has a great example of using Rcpp to speed up a for loop in R. For his agent-based simulation, Christian needed to repeatedly call the rbinom function in a loop. (Unfortunately, you can't pass a vector to the size argument, which would have solved the problem.) Using the aaply function (from the plyr package) took about 38...

Read more »

Inheriting in Items

June 23, 2011
By

What if we want to extend the behavior of one item with another? Or, to put it another way, what if we want one item to be able to grab the functionality of another?It turns out we can (almost) get this behavior without modifying the item constructor at all. Here's how you do the grabbing:

No, steal *this* blog!

June 23, 2011
By

Should the world of R Wikibooks require a precis on truncated distributions, marijuana prices, or an obtusely coded method to visualize orthogonal least squares (spoiler alert: dot products are easier!), I’m your man! I hereby release all of the content and code in the R stuff category under the cc-by-sa copyright license. You can do…

Read more »

Digitizing data from old plots using ‘digitize’

June 23, 2011
By

The June 2011 issue of The R Journal contains an article on the R package digitize (link to pdf) by Timothée Poisot. This might prove to be a handy tool if you occasionally find yourself needing to retrieve data points from figures in old articles for...

Read more »

Table hockey and statistics, part 1

June 23, 2011
By
Table hockey and statistics, part 1

Two hobbys combined I’ve been playing table hockey for little over 8 years now and since the very beginning I’ve been interested in statistics and different software we use while organising tournaments and seasons. I’ve been writing few softwares for … Continue reading →

Read more »

msg <- “Hello World!”; print(msg)

June 23, 2011
By
msg <- “Hello World!”; print(msg)

Introduction My mom always told me to be polite so I think I should introduce myself first. I’m a 20+ years old Finnish university student studying computer science (2nd year starting) and statistics (first year coming) and mostly interested in … Continue reading →

Read more »

New Issue in the R Journal

June 23, 2011
By

Today, the first issue of the third volume of The R Journal was published: http://journal.r-project.org/current.html. The R Journal intends to reach a wide audience and is one of the main communication media in the R community. Usually, two issues are published each year. This issue presents 10 interesting research articles especially introducing to new R

Read more »

The R Journal Vol. 3/1 went online

June 23, 2011
By

Dear All, The first issue of the third volume of The R Journal is now available at http://journal.r-project.org/current.html. Below are direct links to (most of) the articles: Volume 3/1, June 2011 Download complete issue Refereed articles may be downloaded individually using the links below. Table of Contents Editorial 3   Contributed Research Articles   testthat:...

Read more »

New CRAN package for R package development: devtools

June 23, 2011
By

Yesterday, Hadley Wickham released his new package “devtools” at the CRAN repository. A great R package which supports the development process of R packages. R Packages are the fundamental unit of reproducible R code. The development of R packages is a complex topic and requires several additional tasks next to R programming. For example, you

Read more »

iEvoBio 2011 Synopsis

June 22, 2011
By
iEvoBio 2011 Synopsis

We just wrapped up the 2011 iEvoBio meeting. It was awesome! If you didn't go this year or last year, definitely think about going next year.Here is a list of the cool projects that were discussed at the meeting (apologies if I left some out):Vistrails...

Read more »

Steal This Blog!

June 22, 2011
By
Steal This Blog!

I wanted to contribute any content and code I post here to the R Programming Wikibook so I made a slight change to the Creative Commons license on this blog. All the written content is now cc-by-sa and all the code here is still open source BSD. So fee...

Read more »

At Least Tim Thomas Won…….

June 22, 2011
By

As you can tell from the content on this blog, I am a really big fan of statistical analysis and the NHL.  I haven’t blogged in some time simply because I have been deeply engrossed by the 2011 playoffs, where … Continue reading →

Read more »

Hard drive occupation prediction with R – part 3 – Predicting future ranges

Hard drive occupation prediction with R – part 3 – Predicting future ranges

On the second article, we saw how to use a Monte Carlo simulation generate sample of disk space delta for future dates and calculate the distribution probability of zeroing free space in the future.In this article, we will see how we can plot the e...

Read more »

Items

June 22, 2011
By

Let's define a new pattern!I do a lot of programming for research, and part of what this involves is turning calculations, usually expressed as verbs, into nouns. That is, I need to keep the calculation and all it's intermediate steps around so that I can inspect them.Alas, I am programming in Python most of the time and end up...

Read more »

Video: Two R talks from Hadley Wickham

June 22, 2011
By

On his recent tour to the Bay Area, Hadley Wickham have two interesting R-related talks, for which video has been made available by Google Tech Talks. At the June Bay Area R User Group meeting, Hadley spoke on the future of interactive data visualization in R. Building on his experiences creating the ggplot2 package (which is still under development...

Read more »

REITs for Everybody Now REITs for Nobody Part 3

June 22, 2011
By
REITs for Everybody Now REITs for Nobody Part 3

THIS IS NOT INVESTMENT ADVICE.  LISTENING TO ME COULD LOSE LOTS OF MONEY. For some additional insight to my short REITs beliefs presented in REITs for Everybody Now REITs for Nobody Part 2 and REITs for Everybody Might Now Mean REITs for Nobody, I...

Read more »

Package RghcnV3

June 22, 2011
By
Package RghcnV3

I am down to the last strokes of creating a package for downloading, importing and analyzing GHCN (Global Historical Climate Network0 Version 3.  There  were a few things holding me up, but  I’ve manged to handle all of them except the last one.  Let’s spend a little time looking at the package process so you

Read more »

RStudio

June 22, 2011
By

If you're a user of the R statistical software environment (and you should be - if you're not, it's the best free lunch in town), then the (fairly) recently released RStudio user interface will undoubtedly interest you. Here's a quote from the description on their website, to give you the flavour:"RStudio brings together everything you need to be...

Read more »

sab-R-metrics: Merging Data Sets

June 22, 2011
By

I am finally back from Greece and recovered from jet lag. Fortunately, I did not get tear gassed while in Athens, though there were riot police everywhere the whole time we visited. Today, I'm going to start getting my feet wet again with a shorter s...

Read more »

A heap of PhD studentships at UCL

June 21, 2011
By
A heap of PhD studentships at UCL

Mark Girolami sent me this announcement for six PhD studentships in Statistical Methodology and Its Application at University College London (UCL) that are great opportunities for anyone interested in computational statistics! The studentships are attached to the Department of Statistical Science at University College London, and a subset of them are UCL Impact awards. Impact

Read more »

Hurst as Relative Strength

June 21, 2011
By
Hurst as Relative Strength

THIS IS NOT INVESTMENT ADVICE AND COULD EASILY RESULT IN SIGNIFICANT LOSSES. As an extension to Testing Hurst with Multiple Indexes and Exploring the Market with Hurst, we also might employ our new Hurst signal as a relative strength determinant. ...

Read more »

The R WikiBook

June 21, 2011
By

Tal Galili, god bless him, is rounding up R bloggers for an R WikiBookIn support of this book I am announcing all R-related content I post (here and at the old site) to be available under a cc-by-sa license (not that I'd really care if you didn't giv...

Read more »

A year of Chicago’s crime, in 30 seconds

June 21, 2011
By

Yesterday Brett Goldstein, the Chief Data Officer for the City of Chicago, announced on Twitter the release of Chicago’s crime data for the past year. The data is very detailed, and wonderful resource for criminologist and social scientists alike. I have been playing around with the data a bit, and have produced an animation

Read more »