Skip to content

Commit ef651ad

Browse files
authored
ADD PATH in .Rprofile
There was a problem with "proj", the path after download was not the right one. Because of the way we manage R, it means that we can find other problems like
1 parent 432d2bb commit ef651ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ RUN conda install --yes \
6262

6363
RUN echo 'Sys.setenv(CONDA_PREFIX = "/opt/conda/envs/rlang-kernel")' >> /home/$NB_USER/.Rprofile && \
6464
echo 'Sys.setenv(PATH = paste("/opt/conda/envs/rlang-kernel/bin", Sys.getenv("PATH"), sep=":"))' >> /home/$NB_USER/.Rprofile && \
65+
echo 'Sys.setenv(PROJ_LIB = "/opt/conda/envs/rlang-kernel/share/proj")' >> /home/$NB_USER/.Rprofile && \
6566
chown $NB_USER /home/$NB_USER/.Rprofile
6667

6768
ADD ./startup.sh /startup.sh

0 commit comments

Comments
 (0)