Blog Archives

A quick introduction to ggplot2

April 10, 2013
By

My friend Jonah asked me to guest lecture in his R seminar aimed at grad students and postdocs in Integrative Biology. I gave Jonah a bunch of topic options ranging from reproducible research with R to data manipulation. The consensus was data visualization so I put together a 2 hour talk/hands on presentation for ggplot2

Read more »

An intro to R

April 5, 2012
By
An intro to R

A few weeks back I gave a talk at the local Berkeley R meetup group. The idea was to help people not make the same mistakes I made when I first started out learning R. It was the first time I made an entire presentation with Deck.js and I generated the syntax highlighted R code

Read more »

Two incredibly useful functions to throw into your .rprofile

February 7, 2012
By

I’ve neglected this blog for quite some time but I’m getting around to finishing up a bunch of draft posts. But here is a quick one: Listing objects in your global environment A simple ls() doesn’t really tell you enough useful information at a glance. Most often I just want to know what I named

Read more »

rOpenSci is a runner-up in the Mendeley Binary Battle!

November 30, 2011
By

We just got word that rOpenSci was a runner-up in the first Binary Battle!  Thank you for all the support so far! We entered two of our packages for integrating with PLoS Journals (rplos) and Mendeley (RMendeley) in the Mendeley-PLoS Binary Battle.  Get them at GitHub (rplos; RMendeley). These two packages allow users to search and retrieve

Read more »

Customizing your .rprofile

September 29, 2011
By

I searched around to see if there was a blog post somewhere describing how to customize one’s .rprofile but was surprised to find just one outdated post. So here is quick intro on the topic. If you are a power R user, you already know about what it does. For those of you that don’t,

Read more »

HPC for biological research

August 28, 2011
By

In early May I had the opportunity to attend a workshop on using high performance computing in R hosted at Nimbios. I’ve been meaning to write a summary of the meeting ever since but got sidetracked by various other projects. Since a collaborator recently asked for meeting notes I finally took the time to write

Read more »

Climate datasets in R

August 10, 2011
By

As an ecologist working on climate change questions, I’ve always found it rather tedious to acquire and process climate data, especially when dealing with large spatiotemporal scales. Although many agencies provide free access to climate data, there is often some overhead (typically one to two days) before the data are made available for download via

Read more »

Welcome to rOpenSci

July 31, 2011
By

rOpenSci is a collaborative effort to develop R-based tools for facilitating Open Science. So what is Open Science?  Open science is the practice of making various elements of scientific research — data & methods, code & software, and results & publications — readily accessible to anyone. While this has great potential for advancing research (in

Read more »

R + EC2 + RStudio Server

March 30, 2011
By
R + EC2 + RStudio Server

I’ve been battling memory limits in R for over two years. Although R has numerous resources for high-performance computing, I still couldn’t get around hardware limitations. Things really got out of control last summer when I started analyzing data on how climate change influences population synchrony across large spatiotemporal gradients. My datasets were simply too

Read more »

Staying up to date on R packages

March 17, 2011
By

Unless you regularly use particular R packages,  it’s becomes difficult to stay on top of updates and bug fixes.  Updates usually also include significant improvements in performance.  I wrote this short snippet of code which I run about once a month to keep up on updates. This short bit of code will give you a

Read more »