Reputation: 336
I am on Windows 10, and have installed Anaconda3 individual edition (version 2020.11, latest as of Dec. 12, 2020). I want to install RStudio inside Anaconda3.
I created a new environment called renv (also tried rstudio, renv2, etc) and checked both Python (3.8) and r. Then, I tried to install RStudio on this environment. Unfortunately, I always got this error: rstudio cannot be installed on this environment. It asks me whether I'd like to create a new environment (which is exactly what I have done). So, I created a new environment and the same error occurred, over and over again.
Some things I have tried so far:
No luck in resolving the issue... I had this problem several months back, hoped new releases will not have the problem. Unfortunately, the error persists.
Can someone help?
Upvotes: 3
Views: 6657
Reputation: 121
The following steps may work.
Make a clean installation of Anaconda with defaults selected
Login with your Anaconda account in the Anaconda Navigator, and leave (exit) it
Open Anaconda Prompt (as an administrator)
Create a new environment (say myRandPy
) with R
and Python
both with
R essentials and R base and Rstudio package, all in a single command
conda create -n myrandpy r python r-essentials r-base rstudio
y
and hit Enter
when asked.Hopefully, this will solve the issue.
Upvotes: 2