在R中安装预测包版本8.2时出错

时间:2018-05-02 15:42:52

标签: r forecasting forecastr

安装预测包旧版本8.2时出现以下错误:  我按照以下步骤安装它:

install.packages("devtools")
require(devtools)
install_version("forecast", version = "8.2")

错误:     *安装包“预测”......     **包'预测'成功解包并检查MD5总和     ** libs

*** arch - i386
C:/Program Files/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-34~1.0/include" -DNDEBUG  -I"C:/Users/KAUSHV7/Documents/R/win-library/3.4/Rcpp/include" -I"C:/Users/KAUSHV7/Documents/R/win-library/3.4/RcppArmadillo/include"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c calcBATS.cpp -o calcBATS.o
C:/Program: not found
make: *** [calcBATS.o] Error 127
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-34~1.0/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-34~1.0/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="forecast.dll" OBJECTS="calcBATS.o calcTBATS.o etsTargetFunction.o etsTargetFunctionWrapper.o etscalc.o etspolyroot.o makeBATSMatrices.o makeTBATSMatrices.o registerDynamicSymbol.o updateMatrices.o updateTBATSMatrices.o"' had status 2
ERROR: compilation failed for package 'forecast'

对此有何评论?我在这里缺少安装它。

0 个答案:

没有答案