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
[Docker] Rebase onto rocker:r2u #5021
Comments
I made an attempt at this and actually got it working faster than expected. The result image is rather large at 4gb. Slimtoolkit took that down to <1gb but broke some of Mage's functionality in the process, so the idea is valid but someone who knows how to use slimtoolkit better than me would have to figure out how to optimize it.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
By default installing R packages in linux requires building them from source. Depending on the number of packages this can take anywhere from an hour on up, and since docker containers are stateless and ephemeral that process needs to be repeated every time the container is recreated.
Describe the solution you'd like
Rebasing onto ubuntu would allow using Michael Rutter's incredible cran2deb4ubuntu repository and the r2u package, enabling users to install precompiled binaries in seconds instead of hours.
Describe alternatives you've considered
DIYing a custom docker image.
Additional context
R's strength is overwhelmingly in its enormous library of community packages. While it would increase the initial image size I would actually suggest installing the tidyverse, data.table, and collapse packages by default. Collapse and data.table in particular are incredibly powerful and efficient libraries, easily rivaling or beating Python's polars. Including those by default would make it possible to preload powerful R templates.
The text was updated successfully, but these errors were encountered: