plotting in r interpreter requires the repr package. install devtools package first so repr can be installed.

This commit is contained in:
Jeff Steinmetz 2016-02-29 19:11:32 -08:00
parent ef8f638db4
commit fb18a2b057

View file

@ -39,11 +39,14 @@
with_items:
- evaluate
- knitr
- devtools
- name: Install R repr package recommended for the R interpreter display system (requires devtools first).
shell: /usr/bin/Rscript --slave --no-save --no-restore-history -e "if (! ('repr' %in% installed.packages()[,'Package'])) devtools::install_github('IRkernel/repr')"
- name: Install R packages recommended for the R interpreter.
shell: /usr/bin/Rscript --slave --no-save --no-restore-history -e "if (! ('{{item}}' %in% installed.packages()[,'Package'])) install.packages(pkgs=c('{{item}}'), repos=c('{{r_packages_repos}}'))"
with_items:
- repr
- htmltools
- base64enc