-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with installation #5
Comments
Hi @JimmyTree , I met the same problem, and solved the problem by
The installation will not invoke i386 arch with the additional option. |
Thanks for sharing! it works! |
Hmm.. It still doesn't work for me. I copy-pasted: install.packages('devtools') But my error was the same as before: ERROR: dependency 'gurobi' is not available for package 'bestsubset'
|
What I found I had to do:
Result: |
Hi all I followed @BartLoonstra recipe above and it worked perfect - until I updated R to the new 3.5.0. |
I think that this is a problem with gurobi's R package, which does not seem to install or work in R 3.5. The one provided with gurobi 8.0 does work with previous versions. I was in the same situation as you. I have written to gurobi, but it is been a week and I did not get any reply from them. The only solution I can think about until they update the binaries is to go back to the previous R version. If you had it installed, maybe you have not uninstalled it yet and can point RStudio (or whatever you are using) to this old instalation... |
Im back with 3.4.4 - and it all works like a charm! I guess that is what you get for being a little too fresh on your updates ;-) |
Awesome :) For the record, if someone else ends up here, I was able to install gurobi's R package from source to work with R 3.5 by doing this: (I did this on a mac, but it should be very similar on windows or linux, as the files for those OS are also there)
Hope it helps! |
I am able to install the packages bestsubset and gurobi following this online guide https://cran.r-project.org/web/packages/prioritizr/vignettes/gurobi_installation.html , but only in R in Linux terminal. In R studio, when I am running library(bestsubset), the error message is
The official document (http://www.gurobi.com/documentation/8.0/quickstart_linux.pdf) mentions that
I tried to add
in each of the two created files rserver.conf and rsession.conf in the folder /etc/rstudio, but not working. Any suggestions? |
I had the same problem on Ubuntu 16.04.4. with the desktop version of RStudio (not RStudio Server). My problem was solved by adding these lines to ~/.profile as suggested in this post.
|
Hi everyone, i find the way to solve this problem in my computer. Just install the gurobi current version and get the free license for non-commerical use only. and in the R studio. |
Hi,
I am trying to install the package but encounter the following error message:
Error : package 'gurobi' is not installed for 'arch = i386'
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
Installation failed: Command failed (1)
Also, which version of Gurobi does this package work with? Would the package works with the latest version of gurobi as well?
I am using gurobi 7.0.1 and R 3.4.1 and wondering if this would work?
Thank you very much.
The text was updated successfully, but these errors were encountered: