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
-
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
Please sign in to leave a comment.
Comments
1 comment