# \donttest{
library("mlbench")
library("r2pmml")
data(BostonHousing)
housing.glm = glm(medv ~ ., data = BostonHousing, family = "gaussian")
housing.glm = verify(housing.glm, newdata = BostonHousing[sample(nrow(BostonHousing), 10), ])
# Please uncomment the next line
#r2pmml(housing.glm, file.path(tempdir(), "Housing-GLM-verified.pmml"))
# }
Run the code above in your browser using DataLab