Created
May 5, 2013 19:26
-
-
Save jorisbontje/5521891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install R | |
yum: name=$item state=installed | |
environment: $proxy_env | |
with_items: | |
- R | |
tags: | |
- packages | |
- name: Copy R package installer script | |
copy: src=R/files/install_R_package.R dest=/tmp/ | |
tags: | |
- R_packages | |
- name: Install R packages | |
command: Rscript /tmp/install_R_package.R $item creates=/usr/lib64/R/library/$item | |
environment: $proxy_env | |
with_items: $R_packages | |
tags: | |
- R_packages | |
- name: Download rmr2 | |
get_url: url=https://github.com/RevolutionAnalytics/rmr2/raw/master/build/rmr2_2.1.0.tar.gz dest=/tmp/ | |
environment: $proxy_env | |
tags: | |
- rmr2 | |
- name: Install rmr2 | |
command: R CMD INSTALL /tmp/rmr2_2.1.0.tar.gz creates=/usr/lib64/R/library/rmr2 | |
tags: | |
- rmr2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment