I have 5 logistic models trained using the private data. I want them to be validated on another private data by another member. How do I share share the trained models such that they can be evaluated on another system running an arbitrary version of R and packages (i.e. as portably as possible)? I know about
save(Model1, file = "my_model1.test.rda")
model_diff <- load('my_model1.test.rda')
If anyone looking for answer, models can be saved using
and load them in different session using
Model_load <- readRDS('my_model.rds')
based on m-dz's answer.