When I use the following R code,
model_glm=glm(V1~. , data=xx,family="binomial");
save(file="modelfile",model_glm);
The size of modelfile will be as much as the data, which will be 1gig in my case. How can I remove the data part in the result of model_glm, so I can only save a small file.