Added support for including R packages with "-R" option