PDiracDelta
PDiracDelta

Reputation: 2558

install both Python and R in a conda environment

I have a conda environment configured for a Python3.6 project. There is a completely unrelated project which requires me to update my system's (base) R version. However, that would break my python project which happens to use some R functionality as well, which would break with the new version of R.

There was a lot of fidgeting getting the old R version to work because of dependency clashes, so I'd rather not do a ""clean"" reinstall into the conda environment.

Upvotes: 2

Views: 4165

Answers (1)

hongkail
hongkail

Reputation: 789

You can now do this:

$ conda create --name env_name_py37r36 python=3.7 R=3.6 -y

https://rc.partners.org/kb/article/3688

Upvotes: 2

Related Questions