由于它不起作用,我重新安装了。但是没有成功。 我想念什么?
install.packages('C:/gurobi800/win64/R/gurobi_8.0-0.zip', repos=NULL)
# package ‘gurobi’ successfully unpacked and MD5 sums checked
Sys.getenv()
# ...
# GRB_LICENSE_FILE C:\gurobi800\gurobi.lic
# GUROBI_HOME C:\gurobi800\win64
# ...
library("gurobi")
错误:“ gurobi”的软件包或名称空间加载失败:软件包“ gurobi” 由内部版本不同的R版本安装;它必须是 重新安装以与此R版本一起使用
从Gurobi R文件夹中的 DESCRIPTION :
Depends: slam (>= 0.1-9)
URL: http://www.gurobi.com
Built: R 3.4.0; x86_64-w64-mingw32; 2018-04-21 00:42:28 UTC; windows
SessionInfo:
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_Switzerland.1252 LC_MONETARY=German_Switzerland.1252
[4] LC_NUMERIC=C LC_TIME=German_Switzerland.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] slam_0.1-44
loaded via a namespace (and not attached):
[1] compiler_3.5.1 imsbasics_1.9.7 tools_3.5.1 yaml_2.1.19