conda-like env for R
0
1
Entering edit mode
5 months ago
QX ▴ 60

Hi all,

Is there any ways to manage multi-projects in R using an environment management like conda for python? I know that conda also allow R packages also, but people said that r packages via conda got a lot of bugs.

R conda • 547 views
ADD COMMENT
4
Entering edit mode

people said that r packages via conda got a lot of bugs.

In my experience, I don't recall any particular problem with conda and R packages. Occasionally, when I add a package (R on anything else) to an existing environment I have to remove that environment and build it again to resolve some dependency issues. A bit annoying but no big deal, usually.

I would just go for conda since if you are on this forum chances are that you will need programs other than R that are supported by (bio)conda. Except... forget about conda and use mamba instead.

ADD REPLY
2
Entering edit mode

Maybe https://rstudio.github.io/renv/articles/renv.html

The renv package helps you create reproducible environments for your R projects.

ADD REPLY
1
Entering edit mode

I agree with @dariober, installing conda R packages through conda (e.g., conda install r-dplyr) rather than R's install.package function has always worked reasonably well for me. That said, whole environment solving can be problematic with conda. I would suggest using mamba over conda. It's generally much faster and better at solving environments.

ADD REPLY

Login before adding your answer.

Traffic: 2286 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6