R package tutorial from Noam Ross