错误提示:Unable to find an installation of R on the system which R didn't return valid output

这两天想安装Rstudio来配合anaconda使用来学习数据分析,之前在anaconda-navigator的home里面看到有Rstudio这个application,但是一直也安装不上去,莫名其妙浪费里好多时间。后面直接通过conda来下载安装,在anaconda的官方文档里面有相关的命令:

conda install -c r rstudio

安装完可以直接在终端用命令rstudio启动,但是有可能会出现这样的错误提示:
Unable to find an installation of R on the system (which R didn’t return valid output);
Unable to locate R binary by scanning standard locations

这个提示表明系统并没有安装R,而只安装了Rstudio。Rstudio只是一个便于使用R语言的IDE,这时候还需要安装R 语言的使用环境,可以使用以下命令安装R:

conda install R

安装完R之后就可以使用啦

猜你喜欢

转载自blog.csdn.net/braveheartm/article/details/81349531
R:
R
今日推荐