find_rtools()
[1] TRUE
Sys.which( "g++" )
g++
"C:\\PROGRA~1\\MINGW-~1\\X86_64~1.2-P\\mingw64\\bin\\G__~1.EXE" \
devtools::install_github("hadley/bigvis")\
Downloading github repo hadley/bigvis@master\
Installing bigvis
"F:/PROGRA~1/R-31~1.2/bin/x64/R" --vanilla CMD INSTALL
"C:/Users/Qiuyang/AppData/Local/Temp/Rtmp2JMGDL/devtools33f847ad29a4/hadley-bigvis-1cdfdc2"
--library="F:/Program files/R-3.1.2/library" --install-tests
(omit some lines)
make: *** [group.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "F:/PROGRA~1/R-31~1.2/etc/x64/Makeconf" -f "F:/PROGRA~1/R-31~1.2/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="bigvis.dll" WIN=64 TCLBIN=64 OBJECTS="BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o"' had status 2
ERROR: compilation failed for package 'bigvis'
* removing 'F:/Program files/R-3.1.2/library/bigvis'
Error: Command failed (1)
install.packages("bigvis-master", repos = NULL, type = "source")
Warning: invalid package 'bigvis-master'
Error: ERROR: no packages specified
Warning messages:
1: running command '"F:/PROGRA~1/R-31~1.2/bin/x64/R" CMD INSTALL -l "F:\Program files\R-3.1.2\library" "bigvis-master"' had status 1
2: In install.packages("bigvis-master", repos = NULL, type = "source") :
installation of package ‘bigvis-master’ had non-zero exit status
有以前答案的链接。但是对我来说都不起作用。
Is the bigvis package for R not available for R version 3.0.1?
答案 0 :(得分:2)
我遇到了完全相同的问题,我认为它与最新版本的Rcpp不兼容。对我来说,当我使用Rcpp 0.11.3时可以安装bigvis,可以从
获得http://cran.r-project.org/src/contrib/Archive/Rcpp/
您需要复制zip文件并从源代码安装。
希望它也适合你。
答案 1 :(得分:2)
我今天遇到了类似的问题,鉴于最终为我工作的问题,请仔细检查您是否正在使用RTools 3.1以及Rcpp 0.11.3。
在Rcpp的情况下,我安装了最新版本,然后从上面的链接下载了0.11.3。在没有删除最新版本的情况下,我只需输入以下命令:
install.packages("Rcpp_0.11.3.tar.gz", repos = NULL, type = "source")
一旦我同时拥有了RTools 3.1和Rcpp 0.11.3,devtools::install_github('hadley/bigvis')
没有问题。
希望这有帮助。