Skip to content

Commit

Permalink
Added reticulate and python-kaleido.
Browse files Browse the repository at this point in the history
This allows saving plotly images as documented in #330
  • Loading branch information
ttimbers committed Oct 20, 2021
1 parent 99c7dfc commit 25a6a17
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ RUN apt-get update -qq && install2.r --error \
reticulate \
kknn \
fontawesome \
rsvg

rsvg \
reticulate

RUN Rscript -e "reticulate::install_miniconda()"
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'python-kaleido')"
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'plotly', channel = 'plotly')"

RUN Rscript -e "devtools::install_github('ttimbers/canlang@0.0.1')"

# install LaTeX packages
Expand Down

0 comments on commit 25a6a17

Please sign in to comment.