Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r2u / repo2docker integration #100

Open
1 task
eeholmes opened this issue Oct 26, 2024 · 1 comment
Open
1 task

r2u / repo2docker integration #100

eeholmes opened this issue Oct 26, 2024 · 1 comment
Assignees
Labels
tasks general to do tasks
Milestone

Comments

@eeholmes
Copy link
Member

eeholmes commented Oct 26, 2024

Swap out rocker.sh for different r environment installation.

  • Merge Carl's install_r and install_rstudio scripts into one script that I run the same as rocker.sh

REFS

https://github.com/rocker-org/r2u/blob/master/jammy/Dockerfile

https://github.com/boettiger-lab/repo2docker-r/tree/main

@eeholmes eeholmes self-assigned this Oct 26, 2024
@eeholmes eeholmes added the tasks general to do tasks label Oct 26, 2024
@eeholmes eeholmes added this to the py-rocket milestone Oct 26, 2024
@eeholmes eeholmes moved this to Backlog in py-rocket 3.0 Oct 26, 2024
@eeholmes
Copy link
Member Author

Install bspm

## Fifth: install bspm (and its Python requirements) and enable it
## If needed (in bare container, say) install python tools for bspm and R itself
apt-get install --yes --no-install-recommends python3-{dbus,gi,apt} \
	make sudo r-cran-{docopt,littler,remotes} 
## Then install bspm (as root) and enable it, and enable a speed optimization
Rscript -e 'install.packages("bspm")'
R_HOME=$(R RHOME)
# must go first
echo "options(bspm.sudo = TRUE)" >> ${R_HOME}/etc/Rprofile.site
echo "options(bspm.version.check=FALSE)" >> ${R_HOME}/etc/Rprofile.site
echo "suppressMessages(bspm::enable())" >> ${HOME}/.Rprofile

@eeholmes eeholmes modified the milestones: py-rocket, py-rocket 2 Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tasks general to do tasks
Projects
Status: Backlog
Development

No branches or pull requests

1 participant