bsyruq
Last Updated: February 25, 2016
·
1.452K
· bcoca
6447d1e730f15f21c305d008c2477f6d

Install R packages with Ansible

Some times there is no OS package for the R package, then most people do it by hand, but I like to put it all in a playbook:

- name: Install R packages
  shell: echo "library.install(c('${item}')"| R --slave --no-save --no-restore-history
  with_items:
      - rcranrandompackage
Say Thanks
Respond
Filed Under