Added a bunch of stuff to R