When I use the following R code,
model_glm=glm(V1~. , data=xx,family=\"binomial\"); save(file=\"modelfile\",model_glm);
The size of modelfile w
You can NULL the data in the model object before saving it. I did a quick test and still generated predictions.
model_glm$data <- NULL