I had to reinstall R and RSTudio on Windows 10 after a crash. However when installing gurobi again I receive the following error when loading the library:
library("gurobi")
Error: package or namespace load failed for ‘gurobi’:
package ‘gurobi’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
This happens for both Gurobi 7.5.2 and 8.0.0.
> R.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 5.0
year 2018
month 04
day 23
svn rev 74626
language R
version.string R version 3.5.0 (2018-04-23)
nickname Joy in Playing
> RStudio.Version()
$`citation`
To cite RStudio in publications use:
A BibTeX entry for LaTeX users is
@Manual{,
title = {RStudio: Integrated Development Environment for R},
author = {{RStudio Team}},
organization = {RStudio, Inc.},
address = {Boston, MA},
year = {2016},
}
$`mode`
[1] "desktop"
$version
[1] ‘1.1.447’