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

1 hour 19 min ago
R user David Lawrence Miller has created an extension for R's ggplot2 package that allows you to use emojis as plotting symbols. The emoGG package (currently only available on github) adds the geom_emoji geom to ggplot2, which uses an emoji code to identify the plotting symbol. For example: ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +  geom_emoji(emoji="1f337")
2 days 20 hours ago
This ball-moving machine, made out of Lego Mindstorms, gives a Rube Goldberg a run for the money:   This amazing contraption, built by a Japanese Lego enthusiast in 2012, moves one ball per second around a circuit of seventeen distinct modules. Set up in at the creator's home, it took 600 hours to build: that's about 2 months if you work 10 hours a day without a break, and that's a significant amount of space to dedicate in a Japanese home!
3 days 1 hour ago
by Joseph Rickert 2015 has been a good year for R user groups, both in terms of activity and the number of new groups founded. The plot below which runs 12/30/2012 through the week beginning with Monday 11/23/2015 shows that the number of weekly meeting continues to drift up to the right. You can see the seasonal pattern of fewer meetings in the late summer and winter holiday season and increased activity in Autumn. We track weekly meetings in our Community Calendar.

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.