Install R packages via Ansible

Hi All,

How to install R packages through Ansible ?

I want to install quantmod and ggplot packages.

Any Suggestion ?

Create a play book With yum module to install it. See ansible yum dicumentation for more info

R have quantmod and ggplot packages, which couldn’t be possible by yum.

yum will just install R, But i require additional packages for R or i can say library which is used during R programming.

Ansible does not currently have an 'R package manager' so you'll need
to use the shell/command modules to install R packages not available
via the OS package manager.

You might want to have a look at https://github.com/Oefenweb/ansible-r