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

9 hours 42 min ago
If you're a technical type (a programmer or engineer) who's ever been pulled into a business meeting, this may seem familiar to you. Horrifyingly familiar.   In that situation, I don't think I'd have been able to resist suggesting a seven-dimensional chromatic-agnostic platform as the solution (with the full expectation that the account manager would immediately promise to deliver it!). That's all for this week. We'll be back on Monday — enjoy your weekend!
11 hours 51 min ago
It's not easy to visualize a quantity that varies over time and which is composed of more than two subsegments. Take, for example, this stacked bar chart of religious affiliation of the Australian population, by time:
1 day 14 hours ago
by Joseph Rickert New R packages just keep coming. The following plot, constructed with information from the monthly files on Dirk Eddelbuettel's CRANberries site, shows a plot of the number of new packages released to CRAN between January 1, 2013 and July 27, 2015 by month (not quite 31 months).

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.