Initial commit of R package

Initial commit of R package