Skip to content

Commit

Permalink
Merge pull request #221 from nmfs-opensci/test
Browse files Browse the repository at this point in the history
Update install-rocker.sh
  • Loading branch information
eeholmes authored Feb 18, 2025
2 parents 3d1229b + 2747346 commit 8af63c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/install-rocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,10 @@ if command -v tlmgr &> /dev/null; then
tlmgr install collection-latexrecommended
tlmgr install pdfcol tcolorbox eurosym upquote adjustbox titling enumitem ulem soul rsfs
fi

# Set the terminal in RStudio to have the clean PATH wo conda so don't use .bashrc which is for JLab
echo 'export PATH="$PATH"' > /home/jovyan/.rstudio-bashrc && \
chown jovyan:jovyan /home/jovyan/.rstudio-bashrc
if test -f /etc/rstudio/rserver.conf; then
echo "env.BASH_ENV=/home/jovyan/.rstudio-bashrc" >> /etc/rstudio/rserver.conf
fi

0 comments on commit 8af63c6

Please sign in to comment.