包'dplyr'的安装具有非零退出状态

时间:2016-09-12 13:37:14

标签: r windows dplyr install.packages

我一直在使用R几个月,说实话,我是业余爱好者。 我已经在一台新机上安装了R,我尝试安装像dplyr这样的软件包,在那里我遇到了源代码问题所没有的软件包,之后我下载了Rtools,现在我在尝试从源代码安装时遇到了这个问题。

我试过从其他问题中解决问题,但我没有成功,请帮助我。

如何从来源正确下载包?

P.S-我在Windows操作系统上

    *** arch - i386
c:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-33~1.1/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"     -O3 -Wall  -std=gnu99 -mtune=core2 -c expr.c -o expr.o
c:/Rtools/mingw_32/bin/gcc: not found
make: *** [expr.o] Error 127
Warning: running command 'make -f "C:/PROGRA~1/R/R-33~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.1/share/make/winshlib.mk" SHLIB="lazyeval.dll" OBJECTS="expr.o interp.o lazy.o name.o utils.o"' had status 2
ERROR: compilation failed for package 'lazyeval'
* removing 'C:/Users/Janak/Documents/R/win-library/3.3/lazyeval'
ERROR: dependencies 'lazyeval', 'Rcpp' are not available for package 'tibble'
* removing 'C:/Users/Janak/Documents/R/win-library/3.3/tibble'
ERROR: dependencies 'Rcpp', 'tibble', 'lazyeval', 'BH' are not available for package 'dplyr'
* removing 'C:/Users/Janak/Documents/R/win-library/3.3/dplyr'

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


    Warning messages:
1: running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Janak\Documents\R\win-library\3.3" C:\Users\Janak\AppData\Local\Temp\RtmpUpp5qr/downloaded_packages/Rcpp_0.12.7.tar.gz' had status 1 
2: In install.packages("dplyr") :
  installation of package ‘Rcpp’ had non-zero exit status
3: running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Janak\Documents\R\win-library\3.3" C:\Users\Janak\AppData\Local\Temp\RtmpUpp5qr/downloaded_packages/lazyeval_0.2.0.tar.gz' had status 1 
4: In install.packages("dplyr") :
  installation of package ‘lazyeval’ had non-zero exit status
5: running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Janak\Documents\R\win-library\3.3" C:\Users\Janak\AppData\Local\Temp\RtmpUpp5qr/downloaded_packages/tibble_1.2.tar.gz' had status 1 
6: In install.packages("dplyr") :
  installation of package ‘tibble’ had non-zero exit status
7: running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Janak\Documents\R\win-library\3.3" C:\Users\Janak\AppData\Local\Temp\RtmpUpp5qr/downloaded_packages/dplyr_0.5.0.tar.gz' had status 1 
8: In install.packages("dplyr") :
  installation of package ‘dplyr’ had non-zero exit status

0 个答案:

没有答案