Skip to content

Commit 25a6a17

Browse files
authored
Added reticulate and python-kaleido.
This allows saving plotly images as documented in #330
1 parent 99c7dfc commit 25a6a17

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ RUN apt-get update -qq && install2.r --error \
2929
reticulate \
3030
kknn \
3131
fontawesome \
32-
rsvg
33-
32+
rsvg \
33+
reticulate
34+
35+
RUN Rscript -e "reticulate::install_miniconda()"
36+
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'python-kaleido')"
37+
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'plotly', channel = 'plotly')"
38+
3439
RUN Rscript -e "devtools::install_github('ttimbers/[email protected]')"
3540

3641
# install LaTeX packages

0 commit comments

Comments
 (0)