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

8 hours 32 min ago
by Sherri RoseAssistant Professor of Health Care PolicyHarvard Medical School
1 day 7 hours ago
R has something of a reputation for generating, shall we say, obscure error messages like this:
4 days 4 hours ago
There are plenty of great domino cascades on YouTube, but this is one of the best. There are a couple of obvious cuts, but using multiple takes is more than made up for by the perfect coordination with the A-Trak tune. Enjoy:   That's all for this week. See you again on Monday!

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.