Refactored issue #29; addressed issue #1 with R_HOME
Merge pull request #31 from geandbe/master

Refactored issue #29; addressed issue #1 with R_HOME