Embedding raw data in an R Markdown file

A few simple techniques can really make your R Markdown documents stand on their own.

Downloading, extracting and reading files in R

R provides some simple tools for downloading files, unzipping archives and reading in data.

Synchronizing video and data with R and Matlab, part 2: video I/O with Matlab

Here's one strategy for creating animated plots that uses both R and Matlab. I'll go over how to work with videos in Matlab and merge images for use as video frames.

Synchronizing video and data with R and Matlab, part 1: abusing ggplot

Here's one strategy for creating animated plots that uses both R and Matlab. I'll show you how to use ggplot2 to create the animation frames.

Exploring source code and non-visible functions in R

Viewing an R function's source code is usually straightforward, but sometimes a few extra steps are needed.