added R script to install dependent packages
    refs gh-2, gh-34