XGBoost with GPU for Win Failing on Install

Hi,

I am trying to install the 2021-11-06T07:35:42.000Z version of xgb for win64 via RStudio, but I’m receiving the following error message:

  • installing source package ‘xgboost’ …
    ** using staged installation
    Warning in system(“sh ./configure.win”) : ‘sh’ not found
    ERROR: configuration failed for package ‘xgboost’
  • removing ‘C:/Users/14084/Documents/R/win-library/4.1/xgboost’
    Warning in install.packages :
    installation of package ‘C:/Users/14084/Documents/R/xgboost_r_gpu_win64_d7d1b6e3a6e2aa8fcb1857bf5e3188302a03b399.tar.gz’ had non-zero exit status

I used the Install Packages tool in RStudio to do the install. I also removed the previous xgb package from both R (using remove.packages) and my local library directory before attempting the new install.

Any suggestions on how to fix the issue?

Thanks

Update: I didn’t have my PATH environmental settings for RTools set correctly. Once I updated this xgboost installed properly.

1 Like