R Stuff

These are a bit rough around the edges.