Skip to content
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

Error in bestsubset installation #20

Open
sguzman812 opened this issue Oct 24, 2019 · 1 comment
Open

Error in bestsubset installation #20

sguzman812 opened this issue Oct 24, 2019 · 1 comment

Comments

@sguzman812
Copy link

Hi,
I am trying to install the package but encounter the following error message:

** testing if installed package can be loaded from temporary location
*** arch - i386
Error : package 'gurobi' is not installed for 'arch = i386'
Error: loading failed
Ejecución interrumpida
*** arch - x64
ERROR: loading failed for 'i386'

  • removing 'C:/Users/Sofia/Documents/R/win-library/3.6/bestsubset'
    Error: Failed to install 'bestsubset' from GitHub:
    (converted from warning) installation of package ‘C:/Users/Sofia/AppData/Local/Temp/Rtmp8uQMRG/file403c4ce47be1/bestsubset_1.0.10.tar.gz’ had non-zero exit status

I'm using R.6.3.1 and gurobi 8.1.1

@RobinAWester
Copy link

I had the same error. The problem behind this is that gurobi is not installed for R 32-bit version ('arch = i386' refers to the 32-bit version). This solved it for me:

install_github(repo="ryantibs/best-subset", subdir="bestsubset", INSTALL_opts = "--no-multiarch")

I'm using R.6.3.2 and gurobi 9.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants