无法在Windows 10中的R Studio中安装汽车包装

时间:2019-11-17 08:54:28

标签: r

我正在运行RStudio v1.2.5019。

我的笔记本电脑上存储软件包的用户文件夹为 C:\ Users \ R Shiva

我正在尝试安装包括car在内的软件包,但出现以下错误。

Installing package into ‘C:/Users/R Shiva/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘carData’


  There are binary versions available but the source versions are later:
        binary source needs_compilation
carData  3.0-2  3.0-3             FALSE
car      3.0-4  3.0-5             FALSE

installing the source packages ‘carData’, ‘car’

trying URL 'https://cran.rstudio.com/src/contrib/carData_3.0-3.tar.gz'
Content type 'application/x-gzip' length 995544 bytes (972 KB)
downloaded 972 KB

trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-5.tar.gz'
Content type 'application/x-gzip' length 504300 bytes (492 KB)
downloaded 492 KB

Warning: invalid package 'C:\Users\R'
Warning: invalid package 'Shiva\AppData\Local\Temp\RtmpU7R8OM/downloaded_packages/carData_3.0-3.tar.gz'
Error: ERROR: no packages specified
Warning in install.packages :
  installation of package ‘carData’ had non-zero exit status
Warning: invalid package 'C:\Users\R'
Warning: invalid package 'Shiva\AppData\Local\Temp\RtmpU7R8OM/downloaded_packages/car_3.0-5.tar.gz'
Error: ERROR: no packages specified
Warning in install.packages :
  installation of package ‘car’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\R Shiva\AppData\Local\Temp\RtmpU7R8OM\downloaded_packages’

0 个答案:

没有答案