-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
R session crashes on Windows (fatal error), on basic tutorial example #4259
Comments
Hi @actuariallonewolf , thanks for using LightGBM and for the report. I noticed in your example that you are on Windows and that you're installing
Those have been fixed in this repository but a new release has not yet been published to CRAN with those changes. Can you please try installing git clone --recursive https://github.com/microsoft/LightGBM.git
cd LightGBM
sh build-cran-package.sh
R CMD INSTALL lightgbm_3.2.1.99.tar.gz |
Hi, I'm working from a heavily restricted environment. At this point, I'm not sure I can install like you propose. However, I noticed in the other thread, you suggested to try through R.
To my surprised, it worked. I went back to RStudio, and selected Session >> Clear Workspace >> Yes. sessionInfo()
Thanks for your quick response. No longer a blocker since I don't mind loading lightgbm first. |
Oh! Ok, maybe you have this issue: #4208. That is being actively worked on and will be fixed in the next release. For now, as a general rule you should not attempt to save
Sure, no problem. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
R session has a fatal crash when trying to run lightgbm, on Windows.
I had this behavior earlier this year and noticed it crashed whenever lightgbm was loaded last.
My quick fix back then, was to load lightgbm first, and then everything worked out good.
Interestingly, it was later reported here.
However, I'm opening a bug report this time around, because no matter what I try, lightgbm crashes all the time. My trick no longer works...
Thanks!
Reproducible example
Environment info
sessionInfo()
Using RStudio version 1.3.1093
EDIT: Updated R6 package to 2.5.0 to see if it would fix things.
Unfortunately, same behavior.
The text was updated successfully, but these errors were encountered: