Skip to content

Commit

Permalink
fix: r packages install with conda
Browse files Browse the repository at this point in the history
Conda shows significant performance increases for the r-packages specifically over the current mamba install.
  • Loading branch information
EveningStarlight committed Jan 14, 2025
1 parent a487210 commit 73c8889
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions images/rstudio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,40 +24,14 @@ RUN mkdir -p /etc/rstudio && \

ENV PATH=$PATH:/usr/lib/rstudio-server/bin

RUN mamba install --quiet --yes \
RUN conda install --quiet --yes \
'r-rodbc' \
'r-tidyverse' \
'r-arrow' \
&& \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

RUN mamba install --quiet --yes \
'r-aws.s3' \
'r-catools' \
&& \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

# Install some default R packages
RUN mamba install --quiet --yes \
'r-odbc' \
&& \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

# Install some default R packages
RUN mamba install --quiet --yes \
'r-hdf5r' \
&& \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

RUN mamba install --quiet --yes \
'r-sf' \
'r-e1071' \
'r-markdown' \
Expand Down

0 comments on commit 73c8889

Please sign in to comment.