在 Anaconda 中安装 R Studio

问题描述 投票:0回答:1

当我尝试在 Anaconda 中安装 R Studio 时,出现此错误。我该怎么办?

├─ pin-1 is not installable because it requires
│  └─ python 3.12.* , which conflicts with any installable versions previously reported;
└─ rstudio is not installable because there are no viable options
   ├─ rstudio [1.0.44|1.1.383|1.1.456] would require
   │  └─ qt 5.6.* , which requires
   │     └─ openssl 1.0.* , which conflicts with any installable versions previously reported;
   └─ rstudio [1.0.136|1.0.153] would require
      └─ fonts-continuum, which does not exist (perhaps a missing channel).
python r qt anaconda rstudio
1个回答
0
投票
  1. 创建一个新的conda环境:
conda create --name R
  1. 进入新的conda环境:
conda activate R
  1. 安装到这个新的激活环境中 R:
conda install -c conda-forge r-base r-essentials r-devtools
  1. 测试现在使用的是哪个R:
which R

它应该显示您在 conda 中生成的环境的地址。

© www.soinside.com 2019 - 2024. All rights reserved.