install R packages in image