Terminal 在系统上找不到R的安装(R没有返回有效的输出);无法通过扫描标准位置来定位R二进制文件

Terminal 在系统上找不到R的安装(R没有返回有效的输出);无法通过扫描标准位置来定位R二进制文件,terminal,rstudio,ubuntu-16.04,Terminal,Rstudio,Ubuntu 16.04,步骤1:从下载R-studio https://www.rstudio.com/products/rstudio/download/ 步骤2:打开终端并使用此命令 sudo dpkg -i rstudio-1.0.136-amd64.deb 步骤3:从终端启动R Studio: rstudio 这会引发一个错误: Unable to find an installation of R on the system (which R didn't return valid output);

步骤1:从下载R-studio

https://www.rstudio.com/products/rstudio/download/
步骤2:打开终端并使用此命令

sudo dpkg -i rstudio-1.0.136-amd64.deb 
步骤3:从终端启动R Studio:

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是R的一个非常好的IDE,但您不会仅仅通过安装RStudio就自动安装R。按照此处的说明或使用软件包管理器安装R