rocker
asdf
rocker | asdf | |
---|---|---|
14 | 344 | |
1,436 | 20,607 | |
0.3% | 1.9% | |
4.0 | 7.6 | |
16 days ago | 8 days ago | |
Shell | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rocker
-
What's the best way to manage packages for different versions of R?
I am, strictly speaking, not a big R user, so take my opinion with a grain of salt, but if I were using R extensively, I would absolutely use the Rocker project containers to manage different R versions and different sets of dependencies for different projects: https://rocker-project.org/
-
What is the 'Fedora experience' like for scientific computing?
Perhaps the main difference is r package are not available as binaries from rstudio (posit) repo but their is a cran2copr repo that works really well or you can still install from source in your home. For more info on cran2copr see: https://cran.rstudio.com/bin/linux/fedora/ . Personally I am slowly moving to container based workflow with podman (and not toolbox as you end up having your r package install directly in home but that can be worked out by specifying the ribs path). I use docker image from the rocker project: https://rocker-project.org/
-
[S] Step-by-step on how update to a specific version of R.
If you have such specific requirements it’s often easier to use a container like the one from rocker (runs in der docker) instead. Btw wouldn’t be surprised if you’d get the latest version running in there as well.
-
Temporarily Disable R Studio
Check out the Rocker Project, comprising of Docker containers for R, and can be used with RStudio. Also, virtual environments e.g., renv package can also help solve the package versioning issue, aside from containerization, and is transferable to a new machine via the renv::restore() function.
- rocker: R configurations for Docker
-
Tips for using docker
https://hub.docker.com/u/rocker has a lot of R-related images and they look pretty legit (look at "Tags" to find different versions). Don't use weird looking images. There's a lot of malware out there. Here's a guide on nice docker files: https://docs.docker.com/develop/develop-images/dockerfile\_best-practices/
-
Does anyone feel like R is actually vastly worse for dependency/environment management than Python?
Other people have mentioned renv and packrat already (hasn't renv basically superseded packrat at this point?), but what is also nearly ready-made to deal with this is rocker's R images. They have a bunch of images preconfigured for typical TidyVerse stuff, Shiny, etc.
- My experience of trying to get the latest software on Linux is as confusing (annoying?) as Windows!
-
Trying To Run R Studio from Docker (rocker/rstudio) "Cannot Connect to R Session"
The Apple M1 is ARM. As far as my knowledge, ARM isn't supported. Looks like the rocker project is aware of it. Considering how popular these chips are, i'm confident a lot of smart people are working on it. :)
-
Which video course or book would you recommend for R on AWS?
But, with docker, there are many prebuilt images provided by the RStudio team directly, and other great repositories from rocker. These are basically images for your full SDLC with R, from development to deployments.
asdf
- Instalando de maneira rápida e eficiente suas ferramentas no WSL. Pt-3
- Install Ruby and Rails on Fedora 40
-
Install Asdf: One Runtime Manager to Rule All Dev Environments
The main issue most people have with asdf is that it’s annoyingly slow. Not unusably so, but just enough that it’s irritating.
I identified [0] the source for much of it (sub-shells and pipes) and began a PR [1], but became bogged down with BATS testing, and then found mise / rtx, so kind of lost interest. Sorry. You can always implement these if you’d like.
[0]: https://github.com/asdf-vm/asdf/issues/290#issuecomment-1383...
[1]: https://github.com/asdf-vm/asdf/pull/1441
- Show HN: I made a multiple runtime version manager that can be used on Windows
-
Volta – Fastest Node version manager in Rust
Or if you need to manage more than just node, asdf has been around for over a decade and works great. You can use a .tool-versions to change runtimes for each project you have, in addition to managing your global runtime versions
https://asdf-vm.com/
-
Pyenv – lets you easily switch between multiple versions of Python
Why not just use a tool like asdf (https://asdf-vm.com/) or mise (https://mise.jdx.dev/)?
These tools have the advantage of not being multi-taskers and can manage version for all your tools. You wouldn’t need pyenv and npm and rvm and…
We’ve even started committing the .mise.toml files for projects to our repos. That way, since we work on multiple projects that may need multiple versions of the same tool, it’s handled and documented.
-
A Journey to Find an Ultimate Development Environment
The purpose of a version manager is to help you navigate or install any tools for development easily. Version Manager can be one tool for each dependency (e.g. NVM, g) or One tool for all dependencies (e.g. asdf, mise).
-
How to Install Your Python Version on Ubuntu
(asdf)[https://asdf-vm.com/] fully supports Python and almost any other language. I've been using it for Ruby, Python, Elixir, and other languages for years and never looked back.
-
Beginners Intro to Trunk Based Development
Secondly, our development environments must not drift, because then code may behave differently and a change could pass on our machine but fail in production. There are many tools for locking down environments, e.g nix, pkgx, asdf, containers, etc., and they all share the common goal of being able to lock down dependencies for an environment accurately and deterministically. And that needs to be enforced in our local workflow so we don't have to rely on CI environments for correctness. All developers must have environments that are effectively identical to what runs in CI (which itself should be representative of the production environment).
-
Practical Guide to Trunk Based Development
There are many ways this can be done (e.g nix, pkgx, asdf, containers, etc.), and we won’t get into which specific tools to use, because we'll instead cover the essential essence of preventing environment drift:
What are some alternatives?
r-docker - Docker images for R
SDKMan - The SDKMAN! Command Line Interface
r-minimal - Minimal Docker images for R
pyenv - Simple Python version management
covidapp-shiny - A simple Shiny app to display and forecast COVID-19 daily cases
rbenv - Manage your app's Ruby environment
box - Write reusable, composable and modular R code
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
hadolint - Dockerfile linter, validate inline bash, written in Haskell
volta - Volta: JS Toolchains as Code. ⚡
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
HomeBrew - 🍺 The missing package manager for macOS (or Linux)