mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
plotting in r interpreter requires the repr package. install devtools package first so repr can be installed.
This commit is contained in:
parent
ef8f638db4
commit
fb18a2b057
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue