--- # # To list the installed R packages # Run R, then execute # packinfo <- installed.packages (fields = c ("Package", "Version")) # packinfo[,c("Package", "Version")] # # The install/remove script has been taken from here: http://adamj.eu/tech/2014/07/19/installing-and-removing-r-packages-with-ansible/ # r_install_cran_repo: False #r_cran_mirror_site: http://cran.rstudio.com r_cran_mirror_site: http://cran.mirror.garr.it/mirrors/CRAN/ r_base_pkg_version: 2.14.1 r_packages_state: present r_source_plugins_dest_dir: /var/cache/R r_base_packages_list: - r-base - jags r_plugins_packages_list: - r-cran-rjags - r-cran-abind - r-cran-boot - r-cran-class - r-cran-cluster - r-cran-coda - r-cran-codetools - r-cran-foreign - r-cran-lattice - r-cran-maptools - r-cran-mass - r-cran-matrix - r-cran-mgcv - r-cran-nlme - r-cran-nnet - r-cran-rpart - r-cran-sp - r-cran-spatial - r-cran-survival # r_plugins_from_sources: # - { name: 'plyr', version: '1.7.1', source: 'plyr_1.7.1.tar.gz', url: 'http://cran.r-project.org/src/contrib/Archive/plyr/plyr_1.7.1.tar.gz' } r_plugins_list_to_install: - R2WinBUGS - R2jags - bayesmix - coda - rjags - runjags - base - compiler - datasets - grDevices - graphics - grid - methods - parallel - reshape - splines - stats - stats4 - tcltk - tools - utils #r_plugins_list_to_remove: