The Problem
Hello I have the following problem. I installed 7.0.2 my computer, ubuntu 14.04, with R 3.3.3 another canoe, with RStudio 1.0.143.
After installing gurobi and slam I tried loading it:
library(gurobi)
Loading required package: slam
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/derek/R/x86_64-pc-linux-gnu-library/3.3/gurobi/libs/gurobi.so':
libgurobi70.so: cannot open shared object file: No such file or directory
Error: package or namespace load failed for ‘gurobi’
I found this solution, but do not know how to do this:
The quickstart of the program states the following:
If you are using R from RStudio Server and you get an error indicating that R is unable to load the Gurobi DLL or shared object, you may need to set the rsession-ld-library-path entry in the server config file. I am using just RStudio, not the server, I searched for rsession-ld-library-path in my computer, but can't find it, I found a lot of support for that in RStudio Server, but not for RStudio.
Another solution I actually tried but did not work
I tried pasting the libgurobi70.so in the ~/R/x86_64-pc-linux-gnu-library/3.3/gurobi/libs folder, and it did not work, so I also
Some other solutions
I looked at this solution but I haven't changed my Ubuntu, I also saw this post, but the solution is for mac, I have been looking for the DYLD_FALLBACK_LIBRARY_PATH. they mention, and cant seem to find it.
Nothing seemed to work. Any help would be appreciated