问题描述
我通过Rstudio安装了网状结构.现在我想使用conda_create()
,但是我在另一个目录中然后默认设置中安装了anaconda.如何更改Rstudio在其中搜索anaconda的目录?
I installed reticulate via Rstudio. Now i want to use conda_create()
but I installed anaconda in another directory then the default. How can I change the directory in which Rstudio is searching for anaconda?
Error: Unable to find conda binary. Is Anaconda installed?
推荐答案
该目录应位于您的路径中.但是您可以检查它在哪里:
The directory should be in your path. But you can check where it is like this:
Sys.which("python")
如果您有多个python版本(或者它不在您的路径中),则可以使用use_python
指定python二进制文件的位置,并使用use_conda
指定conda环境的其他位置.
If you have multiple python versions (or it is not in your path), then you can specify a different location with use_python
for where the python binary is located and use_conda
for the conda environment.
更多信息,请参见此网状小插图
这篇关于错误:找不到conda二进制文件.是否安装了Anaconda?网状Rstudio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!