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

[R-package] Make saveRDS usable in R #5376

Closed
sebffischer opened this issue Jul 16, 2022 · 3 comments
Closed

[R-package] Make saveRDS usable in R #5376

sebffischer opened this issue Jul 16, 2022 · 3 comments

Comments

@sebffischer
Copy link
Contributor

Summary

Is it possible to make saveRDS usable with lightgbm models?

Motivation

It is quite annoying to not be able to use saveRDS

@jameslamb jameslamb changed the title [feature request] Make saveRDS usable in R [R-package] Make saveRDS usable in R Jul 16, 2022
@jameslamb
Copy link
Collaborator

Thanks for using LightGBM!

Support for saving boosters with saveRDS() and loading them with readRDS() was added in #4685. That functionality has not made it into a release yet, so to use it you'll have to build the package from source.

git clone --recursive https://github.com/microsoft/LightGBM.git
cd LightGBM
sh build-cran-package.sh
R CMD INSTALL ./lightgbm_3.3.2.99.tar.gz

@sebffischer
Copy link
Contributor Author

that is great to hear, thanks!

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants