A few notes on R's glm