Error Loading Library File with R Interface
AnsweredI have installed Gurobi 8.1.1 and am trying to use the R interface. My computer runs Ubuntu 16.04.
I get the following error when loading the Gurobi package in R:
Loading required package: slam
Error: package or namespace load failed for ‘gurobi’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/noemi/R/x86_64-pc-
libgurobi81.so: cannot open shared object file: No such file or directory
I have tried modify the R ldpath file as suggested at the link below, but without success.
https://stackoverflow.com/
I appreciate any suggestions/help.
Regards,Noemi
-
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 Noemi,
Please excuse the delay in replying.
Could you please try whether this suggestion fixes your issue? It's simply about also specifying the Gurobi environment variables in .profile instead or in addition to .bashrc because the latter is not loaded in Rstudio.
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments