无法在系统上找到 R 的安装(R 没有 return 有效输出);无法通过扫描标准位置定位 R 二进制文件
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
第 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。按照此处的说明 https://cran.r-project.org 或使用您的包管理器安装 R。
第 1 步:从
下载 R-studiohttps://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。按照此处的说明 https://cran.r-project.org 或使用您的包管理器安装 R。