https://ideas.creativecasinoties.com/post/save-and-finalize-your-machine-learning-model-in-r-t30grt