package ‘gurobi’ was installed by an R version with different internals

390 views
Skip to first unread message

Marc Ouwerkerk

unread,
May 11, 2018, 6:48:19 AM5/11/18
to Gurobi Optimization
Hi All,

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.

THis is my setup:
> 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:

  RStudio Team (2016). RStudio: Integrated Development for R. RStudio, Inc., Boston, MA URL http://www.rstudio.com/.

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’

Any ideas?

LucaIn

unread,
May 18, 2018, 7:39:14 AM5/18/18
to Gurobi Optimization
Hi,

I am facing the same error after updating R to the version 3.5.0.
It works fine using R version 3.4.4 (2018-03-15) -- "Someone to Lean On".
Anyone knows how can this problem can be fixed?
Reply all
Reply to author
Forward
0 new messages