install R packages

Inspired by Ralph Brook's RHadoop