added necessary R packages