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
Written by Brian Coca
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ansible
Authors

tartansandal
73.35K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#