Skip to Content

Function of the day

Construct the path to a file from components in a platform-independent way.

Package of the day

This package implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors.

Question of the day

On general request, a community wiki on producing latex tables in R. In this post I'll give an overview of the most commonly used packages and blogs with code for producing latex tables from less straight-forward objects. Please feel free to add any I missed, and/or give tips, hints and little tricks on how to produce nicely formatted latex tables with R.

Recent blog posts

16 hours 48 min ago
The R Foundation, the Austria-based non-profit founded in 2003 to oversee the R Project, recently held leadership elections and added some new members. The new R Foundation Board is: 
1 day 22 hours ago
by Matt Sundquistco-founder of Plotly R, Plotly, and ggplot2 let you make, share, and collaborate on beautiful, interactive plots online. Let's see what we can do with the topographic data from Auckland's Maunga Whau Volcano that comes with R. Copy and paste this R code to make your first plot. The basic idea is: use ggplot2 code, add py$ggplotly() to call the Plotly API, and make an interactive, web-based plot for sharing and collaboration.
2 days 14 hours ago
Visualizing complex survey data is something of an art. If the data has been collected and aggregated to geographic units (say, counties or states), a choropleth is one option. But if the data aren't so neatly arranged, making visual sense often requires some form of smoothing to represent it on a map. 

Featured How To

The following list of data sources has been modified as of 3/18/14. Most of the data sets listed below are free, however, some are not.