![]() ![]() We can check which version of R are currently available to be installed through conda (using mamba here as also described on the conda intro page here) with the following:Īnd an installation window should pop up. Setting up a conda environment with R and RStudio If you aren’t yet already familiar with conda, I recommend running through the intro to conda page first, and having it installed as demonstrated there is required to follow below □ This page covers a little bit of how we can do that. Now, it’s generally easier, and easier for reproducibility, to create new environments with the wanted version of R and any needed packages, rather than installing a system-wide R and working in there hoping no conflicts arise. There was once a time when conda wasn’t really a viable way to manage R environments, but thanks to the work of many, that time has mostly completely passed. BONUS: Creating a conda environment with Jupyter Lab and an R kernel.Finding a conda installation for a specific R library we want. ![]() Opening RStudio in our conda environment.Setting up a conda environment with R and RStudio. ![]()
0 Comments
Leave a Reply. |