R installation for Gurobi 9.1.2 does not work with R 4.0.4 (install.packages("C:/gurobi912/win64/R/gurobi_9.1-2") )
AnsweredAs said: We have this issue on two computers, where R version 4.0.4 does not work with Gurobi 9.1.2. Our institute works since two years with Gurobi, and previous installations were fine. Although the insatllation throws a warning, the gurobi package is NOT installed. Details:
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 0.4
year 2021
month 02
day 15
svn rev 80002
language R
version.string R version 4.0.4 (2021-02-15)
nickname Lost Library Book
> install.packages("C:/gurobi912/win64/R/gurobi_9.1-2")
Warning in install.packages : package ‘C:/gurobi912/win64/R/gurobi_9.1-2’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi Christoph,
I take it that setting repos=NULL in the installation command fixes the issue, as indicated by your comment in the corresponding Stackoverflow post.
Please let us know if there are further issues.
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments