minor changes to r gbm example
corrections to glm examples