R:“路径”未被识别为内部或外部命令,可操作程序或批处理文件

时间:2019-03-28 15:20:47

标签: r

我正在尝试安装“ gtable” R软件包,但是它不起作用。 这是控制台输出。

> install.packages("gtable")

  There is a binary version available but the source version is later:
       binary source needs_compilation
gtable  0.2.0  0.3.0             FALSE

installing the source package ‘gtable’

trying URL 'https://cran.rstudio.com/src/contrib/gtable_0.3.0.tar.gz'
Content type 'application/x-gzip' length 368081 bytes (359 KB)
downloaded 359 KB

'\\path\R\R-3.5.3' is not recognized as an internal or external command, 
operable program or batch file.
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘gtable’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\path\AppData\Local\Temp\RtmpSw3Prt\downloaded_packages’

我在“ C:\ Users \ path \ AppData \ Local \ Temp \ RtmpSw3Prt \ downloaded_pa​​ckages”存储库中看到以下文件夹。

“ gtable_0.3.0.tar.gz”

安装其他软件包没有问题。

有人可以帮忙吗?

谢谢!

0 个答案:

没有答案